diff options
author | fcolin | 2007-02-01 13:05:14 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 13:05:14 +0000 |
commit | 3006e231e192a91fa6d132ddc3e483e1c1a31114 (patch) | |
tree | 021b44a0c0b809f9f16054178c4383feb56e37b4 | |
parent | 0b1b7a6d41bb5a10da80de3d29946e29450b69f4 (diff) | |
download | ivy-cplusplus-3006e231e192a91fa6d132ddc3e483e1c1a31114.zip ivy-cplusplus-3006e231e192a91fa6d132ddc3e483e1c1a31114.tar.gz ivy-cplusplus-3006e231e192a91fa6d132ddc3e483e1c1a31114.tar.bz2 ivy-cplusplus-3006e231e192a91fa6d132ddc3e483e1c1a31114.tar.xz |
Utilisateur : Fcolin Date : 20/09/01 Heure : 9:40 Archivé dans $/Ivy (vss 14)
-rw-r--r-- | Ivy/ThreadedSocket.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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;
|