diff options
Diffstat (limited to 'Bus')
-rw-r--r-- | Bus/Ivy/ThreadedSocket.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bus/Ivy/ThreadedSocket.cxx b/Bus/Ivy/ThreadedSocket.cxx index be2bdf0..f14d79a 100644 --- a/Bus/Ivy/ThreadedSocket.cxx +++ b/Bus/Ivy/ThreadedSocket.cxx @@ -161,7 +161,7 @@ int CThreadedSocket::Connect(const SOCKADDR* lpSockAddr, int nSockAddrLen) FD_SET(m_hSocket, &writefds);
ok = connect(m_hSocket, lpSockAddr, nSockAddrLen);
- if ( !ok )
+ if ( ok != 0 )
{
int err = this->GetLastError();
if ( err == 0 ) return err;
|