summaryrefslogtreecommitdiff
path: root/inflate.c
diff options
context:
space:
mode:
Diffstat (limited to 'inflate.c')
-rw-r--r--inflate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/inflate.c b/inflate.c
index a53b5c7..06ca1de 100644
--- a/inflate.c
+++ b/inflate.c
@@ -861,6 +861,9 @@ int flush;
861 } 861 }
862 } 862 }
863 863
864 /* handle error breaks in while */
865 if (state->mode == BAD) break;
866
864 /* build code tables */ 867 /* build code tables */
865 state->next = state->codes; 868 state->next = state->codes;
866 state->lencode = (code const FAR *)(state->next); 869 state->lencode = (code const FAR *)(state->next);