aboutsummaryrefslogtreecommitdiff
path: root/src/connectionmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/connectionmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connectionmanager.cpp b/src/connectionmanager.cpp
index 88d7878..cffdf29 100644
--- a/src/connectionmanager.cpp
+++ b/src/connectionmanager.cpp
@@ -167,7 +167,7 @@ bool ConnectionManager::scanConnections( int nTimeout, bool bForceTimeout )
167 } 167 }
168 168
169 /* Data arriving on an already-connected socket. */ 169 /* Data arriving on an already-connected socket. */
170 if( pCon->readInput() != true ) 170 if( pCon->readInput() == 0 )
171 { 171 {
172 xLog.LineLog( MultiLog::LStatus, "Closing connection due to disconnect."); 172 xLog.LineLog( MultiLog::LStatus, "Closing connection due to disconnect.");
173 close( i ); 173 close( i );