summaryrefslogtreecommitdiff
path: root/Ivy/ThreadedSocket.cxx
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:05:18 +0000
committerfcolin2007-02-01 13:05:18 +0000
commit5d015386435c0c79ac5b973cd86d8c74c5d6d326 (patch)
treee67b3edc2dae8aff91896d8962e377150a118280 /Ivy/ThreadedSocket.cxx
parent1c70f693d16840f4afe269239b4c57dd58a914fe (diff)
downloadivy-cplusplus-5d015386435c0c79ac5b973cd86d8c74c5d6d326.zip
ivy-cplusplus-5d015386435c0c79ac5b973cd86d8c74c5d6d326.tar.gz
ivy-cplusplus-5d015386435c0c79ac5b973cd86d8c74c5d6d326.tar.bz2
ivy-cplusplus-5d015386435c0c79ac5b973cd86d8c74c5d6d326.tar.xz
Utilisateur : Fcolin Date : 27/09/02 Heure : 12:47 Archivé dans $/Ivy Commentaire: (vss 16)
Diffstat (limited to 'Ivy/ThreadedSocket.cxx')
-rw-r--r--Ivy/ThreadedSocket.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ivy/ThreadedSocket.cxx b/Ivy/ThreadedSocket.cxx
index c93ffa9..19670f7 100644
--- a/Ivy/ThreadedSocket.cxx
+++ b/Ivy/ThreadedSocket.cxx
@@ -513,7 +513,7 @@ UINT CThreadedSocket::SocketWriter( )
break;
case SOCKET_ERROR:
TRACE( "CThreadedSocketException( select )\n");
- Close();
+ if (m_hSocket != INVALID_SOCKET) Close();
h_reader = NULL;
return sock_err;
break;