Browse Source

stop telling win32 folks they have a bug just because we haven't finished
making tor work on win32 yet.


svn:r3227

Roger Dingledine 20 years ago
parent
commit
288f2ed59e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/or/main.c

+ 2 - 0
src/or/main.c

@@ -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);
     }
   }