From: Nathan Moinvaziri Date: Tue, 22 Jun 2021 03:39:47 +0000 (-0700) Subject: Use longest_match_slow in deflate_slow. X-Git-Tag: 2.1.0-beta1~545 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0fe6c590d04ce67a52b417287651fa64d8d1e53;p=thirdparty%2Fzlib-ng.git Use longest_match_slow in deflate_slow. --- diff --git a/deflate_slow.c b/deflate_slow.c index e0232c0a1..19bd09fb6 100644 --- a/deflate_slow.c +++ b/deflate_slow.c @@ -55,7 +55,7 @@ Z_INTERNAL block_state deflate_slow(deflate_state *s, int flush) { * of window index 0 (in particular we have to avoid a match * of the string with itself at the start of the input file). */ - match_len = functable.longest_match(s, hash_head); + match_len = functable.longest_match_slow(s, hash_head); /* longest_match() sets match_start */ if (match_len <= 5 && (s->strategy == Z_FILTERED)) {