From 79fbcdc939b5d515218187a0d5f2526fb632075a Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 9 Sep 2011 23:24:02 -0700 Subject: zlib 1.2.2 --- inflate.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'inflate.c') diff --git a/inflate.c b/inflate.c index 06ca1de..c6d3826 100644 --- a/inflate.c +++ b/inflate.c @@ -109,6 +109,7 @@ z_streamp strm; state = (struct inflate_state FAR *)strm->state; strm->total_in = strm->total_out = state->total = 0; strm->msg = Z_NULL; + strm->adler = 1; /* to support ill-conceived Java test suite */ state->mode = HEAD; state->last = 0; state->havedict = 0; @@ -861,8 +862,8 @@ int flush; } } - /* handle error breaks in while */ - if (state->mode == BAD) break; + /* handle error breaks in while */ + if (state->mode == BAD) break; /* build code tables */ state->next = state->codes; -- cgit v1.2.3-55-g6feb