From e99813dbfe9a09e33d42e8da9e550a0c4b7ff734 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Wed, 31 Jan 2018 13:24:12 -0800 Subject: [PATCH] Correct the initialization requirements for deflateInit2(). --- zlib.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zlib.h b/zlib.h index 54dc06d..0b74b25 100644 --- a/zlib.h +++ b/zlib.h @@ -543,8 +543,7 @@ ZEXTERN int ZEXPORT deflateInit2 OF((z_streamp strm, int strategy)); This is another version of deflateInit with more compression options. The - fields next_in, zalloc, zfree and opaque must be initialized before by the - caller. + fields zalloc, zfree and opaque must be initialized before by the caller. The method parameter is the compression method. It must be Z_DEFLATED in this version of the library. -- 2.44.0