소스 검색

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 년 전
부모
커밋
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);
     }
   }