summaryrefslogtreecommitdiffstats
path: root/compat/zlib/gzwrite.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/zlib/gzwrite.c')
-rw-r--r--compat/zlib/gzwrite.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/zlib/gzwrite.c b/compat/zlib/gzwrite.c
index a2ee573..1ec1da4 100644
--- a/compat/zlib/gzwrite.c
+++ b/compat/zlib/gzwrite.c
@@ -117,6 +117,7 @@ local int gz_comp(state, flush)
if (strm->avail_out == 0) {
strm->avail_out = state->size;
strm->next_out = state->out;
+ state->x.next = state->out;
}
}