From 2fcb571a68fc7d85a25e3e66f25a27a2ad6e2843 Mon Sep 17 00:00:00 2001 From: nik Date: Wed, 19 Mar 2014 23:17:10 -0300 Subject: [PATCH] fix inflate: _tr_tally function argument calculation --- lib/zlib/deflate.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/zlib/deflate.js b/lib/zlib/deflate.js index 435ceae..a128932 100644 --- a/lib/zlib/deflate.js +++ b/lib/zlib/deflate.js @@ -770,8 +770,7 @@ function deflate_slow(s, flush) { /***_tr_tally_dist(s, s.strstart - 1 - s.prev_match, s.prev_length - MIN_MATCH, bflush);***/ - bflush = trees._tr_tally(s, s.strstart - 1- s.match_start, s.prev_length - MIN_MATCH); - + bflush = trees._tr_tally(s, s.strstart - 1- s.prev_match, s.prev_length - MIN_MATCH); /* Insert in hash table all strings up to the end of the match. * strstart-1 and strstart are already inserted. If there is not * enough lookahead, the last two strings are not inserted in