From: Mark Adler Date: Wed, 31 Jan 2018 21:24:12 +0000 (-0800) Subject: Correct the initialization requirements for deflateInit2(). X-Git-Tag: v1.2.12~38 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=e99813dbfe9a09e33d42e8da9e550a0c4b7ff734;p=zlib.git Correct the initialization requirements for deflateInit2(). --- 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.