diff options
-rw-r--r-- | lib/Handle.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Handle.cc b/lib/Handle.cc index 479c055..c8e6abc 100644 --- a/lib/Handle.cc +++ b/lib/Handle.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: Handle.cc,v 1.82 2008-05-13 06:59:10 pixel Exp $ */ +/* $Id: Handle.cc,v 1.83 2008-05-14 02:13:05 pixel Exp $ */ #include <stdio.h> #include <string.h> @@ -780,7 +780,7 @@ int Handle::zlib_deflate(Handle * in, Handle * out) throw (GeneralException) { have = total_out = 0; - ret = deflateInit(&s, 9); + ret = deflateInit(&s, Z_DEFAULT_COMPRESSION); if (ret != Z_OK ) { throw GeneralException("zlib: deflateInit() failed: " + String(ret)); } |