From e1f398363812115611d20c0c803802c78ed65974 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 25 Aug 2006 22:07:53 +0000 Subject: Fixed the connection manager to not suck with the new connection read api. --- src/connectionmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/connectionmanager.cpp') 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 ) } /* Data arriving on an already-connected socket. */ - if( pCon->readInput() != true ) + if( pCon->readInput() == 0 ) { xLog.LineLog( MultiLog::LStatus, "Closing connection due to disconnect."); close( i ); -- cgit v1.2.3