소스 검색

Improve log message on unrecognized encoding to indicate that we can cope.

svn:r3676
Nick Mathewson 20 년 전
부모
커밋
2adee31a26
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/or/directory.c

+ 1 - 1
src/or/directory.c

@@ -545,7 +545,7 @@ parse_http_response(const char *headers, int *code, time_t *date,
     } else if (!strcmp(enc, "gzip") || !strcmp(enc, "x-gzip")) {
       *compression = GZIP_METHOD;
     } else {
-      log_fn(LOG_INFO, "Unrecognized content encoding: '%s'", enc);
+      log_fn(LOG_INFO, "Unrecognized content encoding: '%s'. Trying to deal.", enc);
       *compression = -1;
     }
   }