aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/or/buffers.c3
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;