aboutsummaryrefslogtreecommitdiff
path: root/inflate.c
diff options
context:
space:
mode:
Diffstat (limited to 'inflate.c')
-rw-r--r--inflate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/inflate.c b/inflate.c
index 4feac09..76bb8b9 100644
--- a/inflate.c
+++ b/inflate.c
@@ -884,12 +884,12 @@ int ZEXPORT inflate(z_streamp strm, int flush) {
884 if (copy > have) copy = have; 884 if (copy > have) copy = have;
885 if (copy > left) copy = left; 885 if (copy > left) copy = left;
886 if (copy == 0) goto inf_leave; 886 if (copy == 0) goto inf_leave;
887 zmemcpy(put, next, copy);
888 have -= copy; 887 have -= copy;
889 next += copy;
890 left -= copy; 888 left -= copy;
891 put += copy;
892 state->length -= copy; 889 state->length -= copy;
890 do {
891 *put++ = *next++;
892 } while (--copy);
893 break; 893 break;
894 } 894 }
895 Tracev((stderr, "inflate: stored end\n")); 895 Tracev((stderr, "inflate: stored end\n"));