summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authorredman <redman>1999-03-25 01:25:14 (GMT)
committerredman <redman>1999-03-25 01:25:14 (GMT)
commit36733ac560e835f25ec8575240db0553f70804a6 (patch)
treec8b773302e6f3508a0528e9368523d2fb0692a6c /win/tclWinSock.c
parent7cd1d78337df53ffb6db6d4cbcbfc3fdb85006e0 (diff)
downloadtcl-36733ac560e835f25ec8575240db0553f70804a6.zip
tcl-36733ac560e835f25ec8575240db0553f70804a6.tar.gz
tcl-36733ac560e835f25ec8575240db0553f70804a6.tar.bz2
Fix socket code (typo) and test case after looking at it again.
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r--win/tclWinSock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index 2e5c5c0..c54351d 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinSock.c,v 1.1.2.7 1999/03/24 23:53:18 redman Exp $
+ * RCS: @(#) $Id: tclWinSock.c,v 1.1.2.8 1999/03/25 01:25:15 redman Exp $
*/
#include "tclWinInt.h"
@@ -405,7 +405,7 @@ InitSockets()
class.hIcon = NULL;
class.hCursor = NULL;
- if (RegisterClassA(&class)) {
+ if (!RegisterClassA(&class)) {
TclWinConvertError(GetLastError());
(*winSock.WSACleanup)();
goto unloadLibrary;