summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:05:18 +0000
committerfcolin2007-02-01 13:05:18 +0000
commit7777fde10e0bb9632551c13624a5122b3735d7d8 (patch)
tree1e62c6a1f9b1c0118cad8fd23addad4bc1361b85
parent5aa82f08b11a54992ecddbf4458d91889014cd26 (diff)
downloadivy-cplusplus-7777fde10e0bb9632551c13624a5122b3735d7d8.zip
ivy-cplusplus-7777fde10e0bb9632551c13624a5122b3735d7d8.tar.gz
ivy-cplusplus-7777fde10e0bb9632551c13624a5122b3735d7d8.tar.bz2
ivy-cplusplus-7777fde10e0bb9632551c13624a5122b3735d7d8.tar.xz
Utilisateur : Fcolin Date : 27/09/02 Heure : 12:47 Archivé dans $/Ivy Commentaire: (vss 16)
-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 c93ffa9..19670f7 100644
--- a/Bus/Ivy/ThreadedSocket.cxx
+++ b/Bus/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;