diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2005-02-07 19:12:37 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2005-02-07 19:12:37 +0000 |
commit | e4a1788614aed581f03b54cd421ab949aac3b37d (patch) | |
tree | 5e3b1ef157c331b2243ba3cf94904e835530bc22 | |
parent | 7b23eff9cf32d498b8b04b5a983f1b26e2eb5795 (diff) |
Fix for a bug report that compressed files that are exactly 64 KiB long
produce a zlib error.
-rw-r--r-- | lib/content_encoding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/content_encoding.c b/lib/content_encoding.c index 473b82b1e..47f245e9f 100644 --- a/lib/content_encoding.c +++ b/lib/content_encoding.c @@ -128,7 +128,7 @@ inflate_stream(struct SessionHandle *data, } /* Done with these bytes, exit */ - if (status == Z_OK && z->avail_in == 0 && z->avail_out > 0) { + if (status == Z_OK && z->avail_in == 0) { free(decomp); return result; } |