diff options
author | dgp <dgp@users.sourceforge.net> | 2013-09-07 21:19:47 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-09-07 21:19:47 (GMT) |
commit | 7d65b0f9b214a041c9007cf45220fe7c8a5c88f0 (patch) | |
tree | e37a1e5e986f7b58a0b5da2d438f30df452ee611 /unix/tclUnixSock.c | |
parent | 4bba36ca59c3760f9e2a593e8135aa6f8352919e (diff) | |
parent | 133768540d48de8f9bf0638fd9983178588bd18a (diff) | |
download | tcl-7d65b0f9b214a041c9007cf45220fe7c8a5c88f0.zip tcl-7d65b0f9b214a041c9007cf45220fe7c8a5c88f0.tar.gz tcl-7d65b0f9b214a041c9007cf45220fe7c8a5c88f0.tar.bz2 |
merge trunkbug_86ceb4e2b6
Diffstat (limited to 'unix/tclUnixSock.c')
-rw-r--r-- | unix/tclUnixSock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/tclUnixSock.c b/unix/tclUnixSock.c index 9c3d7eb..a6360c2 100644 --- a/unix/tclUnixSock.c +++ b/unix/tclUnixSock.c @@ -1358,6 +1358,7 @@ Tcl_OpenTcpServer( my_errno = errno; } close(sock); + sock = -1; continue; } if (port == 0 && chosenport == 0) { @@ -1380,6 +1381,7 @@ Tcl_OpenTcpServer( my_errno = errno; } close(sock); + sock = -1; continue; } if (statePtr == NULL) { |