diff options
-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; |