diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:24:02 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:24:02 -0700 |
commit | 79fbcdc939b5d515218187a0d5f2526fb632075a (patch) | |
tree | dc82b3a452568093ab8a9f365126ba56a419eea1 /inflate.c | |
parent | 7a6955760ba950eb82f57929f8f6c9847c65f0af (diff) | |
download | zlib-79fbcdc939b5d515218187a0d5f2526fb632075a.tar.gz zlib-79fbcdc939b5d515218187a0d5f2526fb632075a.tar.bz2 zlib-79fbcdc939b5d515218187a0d5f2526fb632075a.zip |
zlib 1.2.2v1.2.2
Diffstat (limited to 'inflate.c')
-rw-r--r-- | inflate.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -109,6 +109,7 @@ z_streamp strm; | |||
109 | state = (struct inflate_state FAR *)strm->state; | 109 | state = (struct inflate_state FAR *)strm->state; |
110 | strm->total_in = strm->total_out = state->total = 0; | 110 | strm->total_in = strm->total_out = state->total = 0; |
111 | strm->msg = Z_NULL; | 111 | strm->msg = Z_NULL; |
112 | strm->adler = 1; /* to support ill-conceived Java test suite */ | ||
112 | state->mode = HEAD; | 113 | state->mode = HEAD; |
113 | state->last = 0; | 114 | state->last = 0; |
114 | state->havedict = 0; | 115 | state->havedict = 0; |
@@ -861,8 +862,8 @@ int flush; | |||
861 | } | 862 | } |
862 | } | 863 | } |
863 | 864 | ||
864 | /* handle error breaks in while */ | 865 | /* handle error breaks in while */ |
865 | if (state->mode == BAD) break; | 866 | if (state->mode == BAD) break; |
866 | 867 | ||
867 | /* build code tables */ | 868 | /* build code tables */ |
868 | state->next = state->codes; | 869 | state->next = state->codes; |