[or-cvs] fix confirmed win32 bug

Roger Dingledine arma at seul.org
Mon Sep 8 23:10:26 UTC 2003


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or

Modified Files:
	buffers.c 
Log Message:
fix confirmed win32 bug


Index: buffers.c
===================================================================
RCS file: /home/or/cvsroot/src/or/buffers.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- buffers.c	7 Sep 2003 10:24:40 -0000	1.30
+++ buffers.c	8 Sep 2003 23:10:24 -0000	1.31
@@ -58,7 +58,7 @@
     }
 #ifdef MS_WINDOWS
     e = correct_socket_errno(s);
-    if(!ERRNO_EAGAIN(errno)) { /* no, it *is* a real error! */
+    if(!ERRNO_EAGAIN(e)) { /* no, it *is* a real error! */
       return -1;
     }
 #endif
@@ -116,7 +116,7 @@
     }
 #ifdef MS_WINDOWS
     e = correct_socket_errno(s);
-    if(!ERRNO_EAGAIN(errno)) { /* no, it *is* a real error! */
+    if(!ERRNO_EAGAIN(e)) { /* no, it *is* a real error! */
       return -1;
     }
 #endif



More information about the tor-commits mailing list