diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-06-29 11:17:36 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-06-29 11:17:36 +0000 |
commit | 05eff35ac6d64b11f7cdc99740dd26e52cf4f701 (patch) | |
tree | 0b0d4f7a3e6c0c3ab56d1de2433a7a3f12faac00 /src/common/torgzip.c | |
parent | 4b49d298ebabbf2bbdac5d90f0a4c575b2efe897 (diff) | |
download | tor-05eff35ac6d64b11f7cdc99740dd26e52cf4f701.tar.gz tor-05eff35ac6d64b11f7cdc99740dd26e52cf4f701.zip |
Harmless: Z_OK is not an acceptable answer to Z_FINISH.
svn:r6701
Diffstat (limited to 'src/common/torgzip.c')
-rw-r--r-- | src/common/torgzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/torgzip.c b/src/common/torgzip.c index aca8386cc7..ec02870776 100644 --- a/src/common/torgzip.c +++ b/src/common/torgzip.c @@ -352,7 +352,7 @@ tor_zlib_process(tor_zlib_state_t *state, return Z_OK; return TOR_ZLIB_BUF_FULL; case Z_OK: - if (state->stream.avail_out == 0) + if (state->stream.avail_out == 0 || finish) return TOR_ZLIB_BUF_FULL; return TOR_ZLIB_OK; default: |