summaryrefslogtreecommitdiff
path: root/Bus/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:05:14 +0000
committerfcolin2007-02-01 13:05:14 +0000
commit2fd9530c71e6b7ed757e4cee31dc3b8b9966c3a6 (patch)
treeb0398cb721f8e0401d372ee6ccf78219d9890ea2 /Bus/Ivy
parent684288e4d2e2fc033a9f9595b0608cdd75ece742 (diff)
downloadivy-cplusplus-2fd9530c71e6b7ed757e4cee31dc3b8b9966c3a6.zip
ivy-cplusplus-2fd9530c71e6b7ed757e4cee31dc3b8b9966c3a6.tar.gz
ivy-cplusplus-2fd9530c71e6b7ed757e4cee31dc3b8b9966c3a6.tar.bz2
ivy-cplusplus-2fd9530c71e6b7ed757e4cee31dc3b8b9966c3a6.tar.xz
Utilisateur : Fcolin Date : 20/09/01 Heure : 9:40 Archivé dans $/Ivy (vss 14)
Diffstat (limited to 'Bus/Ivy')
-rw-r--r--Bus/Ivy/ThreadedSocket.cxx2
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;