[or-cvs] Oops -- the Windows function is closesocket, not socketclose
Nick Mathewson
nickm at seul.org
Wed Apr 28 21:17:44 UTC 2004
Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/tmp/cvs-serv20722/src/common
Modified Files:
util.h
Log Message:
Oops -- the Windows function is closesocket, not socketclose
Index: util.h
===================================================================
RCS file: /home/or/cvsroot/src/common/util.h,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- util.h 28 Apr 2004 21:14:56 -0000 1.61
+++ util.h 28 Apr 2004 21:17:42 -0000 1.62
@@ -57,7 +57,7 @@
#endif
#ifdef MS_WINDOWS
-#define tor_close_socket(s) socketclose(s)
+#define tor_close_socket(s) closesocket(s)
#else
#define tor_close_socket(s) close(s)
#endif
More information about the tor-commits
mailing list