summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-01-20 20:45:23 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-01-20 20:45:23 +0100
commitcb2f614cd8cea5a03d1e365a176f45e27a60faf8 (patch)
tree987ebea12c670f933bbd334521b353edc75c91fb /src/lib
parentf2433ec891cd269ce24ee286e46859563cdb20d2 (diff)
udeflate: Fix FDICT check
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/udeflate.cc2
1 files changed, 1 insertions, 1 deletions
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;
}