diff options
author | Nick Mathewson <nickm@torproject.org> | 2003-03-19 22:28:52 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2003-03-19 22:28:52 +0000 |
commit | 9c263b322bfdae60c453ec65c4fa0a24200ec47b (patch) | |
tree | 63320059a057eddd03b987424da2007f05b97c3c /src | |
parent | 5d0904bc41f5f559c868cf19bb9683fb939b7c2d (diff) | |
download | tor-9c263b322bfdae60c453ec65c4fa0a24200ec47b.tar tor-9c263b322bfdae60c453ec65c4fa0a24200ec47b.tar.gz |
Make decompression loud.
svn:r209
Diffstat (limited to 'src')
-rw-r--r-- | src/or/buffers.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index 61706fcad..2f6c64cc5 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; |