]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
stop telling win32 folks they have a bug just because we haven't finished
authorRoger Dingledine <arma@torproject.org>
Sat, 25 Dec 2004 06:42:15 +0000 (06:42 +0000)
committerRoger Dingledine <arma@torproject.org>
Sat, 25 Dec 2004 06:42:15 +0000 (06:42 +0000)
making tor work on win32 yet.

svn:r3227

src/or/main.c

index 1b072cbe1266b4d9db65e2a7f5c92d50e9e4759b..57843ab348ac32d1fdd146d219177501253e333a 100644 (file)
@@ -281,8 +281,10 @@ static void conn_read(int i) {
       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);
     }
   }