Skip to content

Commit

Permalink
Permit a deflateParams() parameter change as soon as possible.
Browse files Browse the repository at this point in the history
  • Loading branch information
rlidwka committed Jun 10, 2022
1 parent 25a8b18 commit 2326b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zlib/deflate.js
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ const deflateResetKeep = (strm) => {
0 // crc32(0, Z_NULL, 0)
:
1; // adler32(0, Z_NULL, 0)
s.last_flush = Z_NO_FLUSH;
s.last_flush = -2;
_tr_init(s);
return Z_OK;
};
Expand Down

0 comments on commit 2326b42

Please sign in to comment.