From 2fa941b89177cf91cbbc84700c1d7631aa85bcc2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 9 Aug 2015 00:27:33 +0300 Subject: Add some missing checks to other files found by paranucker. --- src/net/ipc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net') 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; } -- cgit v1.2.3-70-g09d2