瀏覽代碼

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


svn:r3227

Roger Dingledine 19 年之前
父節點
當前提交
288f2ed59e
共有 1 個文件被更改,包括 2 次插入0 次删除
  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);
     }
   }