浏览代码

Fix spelling: compressing, not compresing

Nick Mathewson 6 年之前
父节点
当前提交
14614a592e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/common/compress.c

+ 2 - 2
src/common/compress.c

@@ -164,7 +164,7 @@ tor_compress_impl(int compress,
           goto err;
         }
         if (out_alloc >= SIZE_T_CEILING / 2) {
-          log_warn(LD_GENERAL, "While %scompresing data: ran out of space.",
+          log_warn(LD_GENERAL, "While %scompressing data: ran out of space.",
                    compress?"":"un");
           goto err;
         }
@@ -185,7 +185,7 @@ tor_compress_impl(int compress,
       }
       case TOR_COMPRESS_ERROR:
         log_fn(protocol_warn_level, LD_GENERAL,
-               "Error while %scompresing data: bad input?",
+               "Error while %scompressing data: bad input?",
                compress?"":"un");
         goto err; // bad data.