From cb2f614cd8cea5a03d1e365a176f45e27a60faf8 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 20 Jan 2021 20:45:23 +0100 Subject: udeflate: Fix FDICT check --- src/lib/udeflate.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/udeflate.cc') diff --git a/src/lib/udeflate.cc b/src/lib/udeflate.cc index c8f281f..baab208 100644 --- a/src/lib/udeflate.cc +++ b/src/lib/udeflate.cc @@ -418,7 +418,7 @@ int8_t udeflate_zlib(unsigned char *input_buf, uint16_t input_len, return UDEFLATE_ERR_METHOD; } - if (zlib_flags & 0x10) { + if (zlib_flags & 0x20) { return UDEFLATE_ERR_FDICT; } -- cgit v1.2.3