diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-04-13 02:06:41 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-04-13 08:00:46 (EDT) |
commit | edd69d2e53d850344e23647507e9b5f84bbf0056 (patch) | |
tree | d2ed6821d26e07dfcb19cb585241b1f5561dc809 | |
parent | 7fff5e5955591ada15f4633a31932dc9d6c8086d (diff) |
gzip: Set windowBits for gzip
-rw-r--r-- | src/gzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ _opkg_opk_gzip_init(struct opkg_opk_gzip_state *state) state->stream.zalloc = Z_NULL; state->stream.zfree = Z_NULL; state->stream.opaque = Z_NULL; - if (inflateInit(&state->stream) != Z_OK) { + if (inflateInit2(&state->stream, 15 + 16) != Z_OK) { return OPKG_OPK_ERROR; } return OPKG_OPK_OK; |