aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inflate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inflate.c b/inflate.c
index ac333e8..a4b5b68 100644
--- a/inflate.c
+++ b/inflate.c
@@ -1531,7 +1531,7 @@ int check;
1531 1531
1532 if (inflateStateCheck(strm)) return Z_STREAM_ERROR; 1532 if (inflateStateCheck(strm)) return Z_STREAM_ERROR;
1533 state = (struct inflate_state FAR *)strm->state; 1533 state = (struct inflate_state FAR *)strm->state;
1534 if (check) 1534 if (check && state->wrap)
1535 state->wrap |= 4; 1535 state->wrap |= 4;
1536 else 1536 else
1537 state->wrap &= ~4; 1537 state->wrap &= ~4;