aboutsummaryrefslogtreecommitdiff
path: root/gzlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gzlib.c')
-rw-r--r--gzlib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gzlib.c b/gzlib.c
index 4c1aa83a..79a7e978 100644
--- a/gzlib.c
+++ b/gzlib.c
@@ -72,6 +72,7 @@ local void gz_reset(gz_statep state) {
72 state->eof = 0; /* not at end of file */ 72 state->eof = 0; /* not at end of file */
73 state->past = 0; /* have not read past end yet */ 73 state->past = 0; /* have not read past end yet */
74 state->how = LOOK; /* look for gzip header */ 74 state->how = LOOK; /* look for gzip header */
75 state->junk = -1; /* mark first member */
75 } 76 }
76 else /* for writing ... */ 77 else /* for writing ... */
77 state->reset = 0; /* no deflateReset pending */ 78 state->reset = 0; /* no deflateReset pending */