From 9c263b322bfdae60c453ec65c4fa0a24200ec47b Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 19 Mar 2003 22:28:52 +0000 Subject: [PATCH] Make decompression loud. svn:r209 --- src/or/buffers.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/or/buffers.c b/src/or/buffers.c index 61706fcad7..2f6c64cc5d 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -156,6 +156,9 @@ int compress_from_buf(char *string, int string_len, { case Z_OK: case Z_STREAM_END: + log(LOG_DEBUG, "Compressed (%d/%d); filled (%d/%d).", + *buf_datalen_in-zstream->avail_in, *buf_datalen_in, + string_len-zstream->avail_out, string_len); memmove(*buf_in, zstream->next_in, zstream->avail_in); *buf_datalen_in = zstream->avail_in; return string_len - zstream->avail_out;