summaryrefslogtreecommitdiff
path: root/zlib/infback.c
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-03-23 21:08:13 +0100
committerunknown <serg@serg.mylan>2005-03-23 21:08:13 +0100
commitd4285cae162fed7e170507f10eff9cec3b240a6d (patch)
tree9defb6fc4bb5a6c4a12f100e1c2644a098e81253 /zlib/infback.c
parent58aeecb078023ea64c40d8fe2af74a756b759ea2 (diff)
downloadmariadb-git-d4285cae162fed7e170507f10eff9cec3b240a6d.tar.gz
upgrade zlib to 1.2.2
acinclude.m4: clarify help text
Diffstat (limited to 'zlib/infback.c')
-rw-r--r--zlib/infback.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/zlib/infback.c b/zlib/infback.c
index 110b03b857f..262f97c73ac 100644
--- a/zlib/infback.c
+++ b/zlib/infback.c
@@ -434,6 +434,9 @@ void FAR *out_desc;
}
}
+ /* handle error breaks in while */
+ if (state->mode == BAD) break;
+
/* build code tables */
state->next = state->codes;
state->lencode = (code const FAR *)(state->next);