summaryrefslogtreecommitdiff
path: root/gzlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gzlib.c')
-rw-r--r--gzlib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gzlib.c b/gzlib.c
index 4838bf0..f6b3b40 100644
--- a/gzlib.c
+++ b/gzlib.c
@@ -81,6 +81,8 @@ local void gz_reset(state)
81 state->past = 0; /* have not read past end yet */ 81 state->past = 0; /* have not read past end yet */
82 state->how = LOOK; /* look for gzip header */ 82 state->how = LOOK; /* look for gzip header */
83 } 83 }
84 else /* for writing ... */
85 state->reset = 0; /* no deflateReset pending */
84 state->seek = 0; /* no seek request pending */ 86 state->seek = 0; /* no seek request pending */
85 gz_error(state, Z_OK, NULL); /* clear error */ 87 gz_error(state, Z_OK, NULL); /* clear error */
86 state->x.pos = 0; /* no uncompressed data yet */ 88 state->x.pos = 0; /* no uncompressed data yet */