diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-09 00:27:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-09 00:27:33 +0300 |
commit | 2fa941b89177cf91cbbc84700c1d7631aa85bcc2 (patch) | |
tree | ebc3464db530afd540a67bb86ea735624841ec32 /src/net | |
parent | b4ec726fe28f65b15fd4cc7b0ef6fd72b7d24c02 (diff) | |
download | mv-2fa941b89177cf91cbbc84700c1d7631aa85bcc2.tar.gz mv-2fa941b89177cf91cbbc84700c1d7631aa85bcc2.tar.bz2 mv-2fa941b89177cf91cbbc84700c1d7631aa85bcc2.tar.xz mv-2fa941b89177cf91cbbc84700c1d7631aa85bcc2.zip |
Add some missing checks to other files found by paranucker.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ipc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ipc.cpp b/src/net/ipc.cpp index e4a70abc8..f82330d04 100644 --- a/src/net/ipc.cpp +++ b/src/net/ipc.cpp @@ -93,7 +93,7 @@ int IPC::acceptLoop(void *ptr) const int max_length = 1024; const TcpNet::SocketSet set = TcpNet::allocSocketSet(1); TcpNet::addSocket(set, ipc1->mSocket); - ipc->mListen = true; + ipc1->mListen = true; while (ipc1->mListen) { TcpNet::checkSockets(set, 250); @@ -141,7 +141,7 @@ int IPC::acceptLoop(void *ptr) } TcpNet::closeSocket(ipc1->mSocket); ipc1->mSocket = nullptr; - ipc->mThread = nullptr; + ipc1->mThread = nullptr; return 0; } |