[or-cvs] Make decompression loud.
Nick Mathewson
nickm at seul.org
Wed Mar 19 22:28:55 UTC 2003
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv2537/src/or
Modified Files:
buffers.c
Log Message:
Make decompression loud.
Index: buffers.c
===================================================================
RCS file: /home/or/cvsroot/src/or/buffers.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- buffers.c 17 Mar 2003 02:42:45 -0000 1.13
+++ buffers.c 19 Mar 2003 22:28:52 -0000 1.14
@@ -156,6 +156,9 @@
{
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;
More information about the tor-commits
mailing list