diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-08-25 22:07:53 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-08-25 22:07:53 +0000 |
commit | e1f398363812115611d20c0c803802c78ed65974 (patch) | |
tree | 0a685408d2a720f8ae9293692aeda17c80c8bc10 /src/connectionmanager.cpp | |
parent | 0a700ced28520be170c0965191f2450a2e4a82ac (diff) | |
download | libbu++-e1f398363812115611d20c0c803802c78ed65974.tar.gz libbu++-e1f398363812115611d20c0c803802c78ed65974.tar.bz2 libbu++-e1f398363812115611d20c0c803802c78ed65974.tar.xz libbu++-e1f398363812115611d20c0c803802c78ed65974.zip |
Fixed the connection manager to not suck with the new connection read api.
Diffstat (limited to 'src/connectionmanager.cpp')
-rw-r--r-- | src/connectionmanager.cpp | 2 |
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 ); |