[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] backport:



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

Modified Files:
      Tag: tor-0_0_9-patches
	main.c 
Log Message:
backport:
stop telling win32 folks they have a bug just because we haven't finished
making tor work on win32 yet.


Index: main.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.407
retrieving revision 1.407.2.1
diff -u -d -r1.407 -r1.407.2.1
--- main.c	16 Dec 2004 05:23:48 -0000	1.407
+++ main.c	25 Dec 2004 06:42:47 -0000	1.407.2.1
@@ -270,8 +270,10 @@
       connection_handle_read(conn) < 0) {
     if (!conn->marked_for_close) {
       /* this connection is broken. remove it */
+#ifndef MS_WINDOWS
       log_fn(LOG_WARN,"Bug: unhandled error on read for %s connection (fd %d); removing",
              CONN_TYPE_TO_STRING(conn->type), conn->s);
+#endif
       connection_mark_for_close(conn);
     }
   }