From 3006e231e192a91fa6d132ddc3e483e1c1a31114 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 13:05:14 +0000 Subject: Utilisateur : Fcolin Date : 20/09/01 Heure : 9:40 Archivé dans $/Ivy (vss 14) --- Ivy/ThreadedSocket.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ivy') diff --git a/Ivy/ThreadedSocket.cxx b/Ivy/ThreadedSocket.cxx index be2bdf0..f14d79a 100644 --- a/Ivy/ThreadedSocket.cxx +++ b/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; -- cgit v1.1