diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Handle.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Handle.cc b/lib/Handle.cc index 4ee233c..124f866 100644 --- a/lib/Handle.cc +++ b/lib/Handle.cc @@ -886,7 +886,7 @@ int Handle::zlib_inflate(Handle * in, Handle * out, bool raw) throw (GeneralExce have = total_out = 0; - ret = inflateInit2(&s, raw ? -15 : 0); + ret = inflateInit2(&s, raw ? -15 : 15); if (ret != Z_OK) { throw GeneralException("zlib: inflateInit() failed: " + String(ret)); } |