aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/content_encoding.c2
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;
}