[or-cvs] Fix message when decompressing
Nick Mathewson
nickm at seul.org
Wed Mar 19 22:51:40 UTC 2003
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv4918/src/or
Modified Files:
buffers.c
Log Message:
Fix message when decompressing
Index: buffers.c
===================================================================
RCS file: /home/or/cvsroot/src/or/buffers.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- buffers.c 19 Mar 2003 22:47:34 -0000 1.15
+++ buffers.c 19 Mar 2003 22:51:38 -0000 1.16
@@ -194,7 +194,8 @@
case Z_STREAM_END:
log(LOG_DEBUG, "Uncompressed (%d/%d); filled (%d/%d)",
*buf_datalen_in-zstream->avail_in, *buf_datalen_in,
- *buf_datalen_out-zstream->avail_out, *buf_datalen_out);
+ (*buflen_out-*buf_datalen_out)-zstream->avail_out,
+ (*buflen_out-*buf_datalen_out) );
memmove(*buf_in, zstream->next_in, zstream->avail_in);
*buf_datalen_in = zstream->avail_in;
*buf_datalen_out = *buflen_out - zstream->avail_out;
More information about the tor-commits
mailing list