mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Fix message when decompressing
svn:r214
This commit is contained in:
parent
29da03cbdc
commit
9d03ae627d
@ -194,7 +194,8 @@ int decompress_buf_to_buf(char **buf_in, int *buflen_in, int *buf_datalen_in,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user