Mercurial > dovecot > core-2.2
changeset 10698:15feca627630 HEAD
zlib: o_stream_create_deflate() shouldn't have enabled zlib header.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 13 Feb 2010 05:45:23 +0200 |
parents | e0e6d941941c |
children | 29f5567e0a9a |
files | src/plugins/zlib/ostream-zlib.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/zlib/ostream-zlib.c Sat Feb 13 05:44:20 2010 +0200 +++ b/src/plugins/zlib/ostream-zlib.c Sat Feb 13 05:45:23 2010 +0200 @@ -246,8 +246,7 @@ o_stream_ref(output); o_stream_zlib_init_gz_header(zstream, level, strategy); - ret = deflateInit2(&zstream->zs, level, Z_DEFLATED, - gz ? -15 : 15, 8, strategy); + ret = deflateInit2(&zstream->zs, level, Z_DEFLATED, -15, 8, strategy); switch (ret) { case Z_OK: break;