From 5cd75b56a8545e2ca7cb4ae48bdfc43abd675292 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 18 Jun 2014 21:39:51 +0200 Subject: [PATCH] Revert "ZlibDecompressor: also accept gzip format" This reverts commit 142d59ca90dc5f84899d93eef4c8515cc8d27036. --- src/kits/shared/ZlibDecompressor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/shared/ZlibDecompressor.cpp b/src/kits/shared/ZlibDecompressor.cpp index e31649cb91..17552a827b 100644 --- a/src/kits/shared/ZlibDecompressor.cpp +++ b/src/kits/shared/ZlibDecompressor.cpp @@ -54,7 +54,7 @@ ZlibDecompressor::Init() fStream.adler = 0; fStream.reserved = 0; - int zlibError = inflateInit2(&fStream, 32 + MAX_WBITS); + int zlibError = inflateInit(&fStream); if (zlibError != Z_OK) return TranslateZlibError(zlibError);