summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/zlib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/zlib.c b/lib/zlib.c
index 2b31dbadb86..e19484aaa07 100644
--- a/lib/zlib.c
+++ b/lib/zlib.c
@@ -1599,6 +1599,7 @@ int flush;
strm->adler = state->check = adler32(0L, Z_NULL, 0);
state->mode = TYPE;
case TYPE:
+ WATCHDOG_RESET();
if (flush == Z_BLOCK) goto inf_leave;
case TYPEDO:
if (state->last) {