summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-09-28 12:17:34 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-28 12:17:34 -0400
commit14614a592e43e2a6fcddb79c3f4ff5c8df60f380 (patch)
tree420b22dd4d1efc990cf9060293200ac6f7a9adf0
parentf71ff0cabc36b5aeb790f133c00ac1ccfdfefacb (diff)
downloadtor-14614a592e43e2a6fcddb79c3f4ff5c8df60f380.tar.gz
tor-14614a592e43e2a6fcddb79c3f4ff5c8df60f380.zip
Fix spelling: compressing, not compresing
-rw-r--r--src/common/compress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/compress.c b/src/common/compress.c
index 110eb65867..520148f83d 100644
--- a/src/common/compress.c
+++ b/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.