summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2018-01-31 13:24:12 -0800
committerMark Adler <madler@alumni.caltech.edu>2018-01-31 13:24:12 -0800
commite99813dbfe9a09e33d42e8da9e550a0c4b7ff734 (patch)
tree396bf6913afce54a8cde744224c6e7d2658b6834
parentbf88202e314898f74b42995a71bb67d1bcc51883 (diff)
downloadzlib-e99813dbfe9a09e33d42e8da9e550a0c4b7ff734.tar.gz
zlib-e99813dbfe9a09e33d42e8da9e550a0c4b7ff734.tar.bz2
zlib-e99813dbfe9a09e33d42e8da9e550a0c4b7ff734.zip
Correct the initialization requirements for deflateInit2().
-rw-r--r--zlib.h3
1 files changed, 1 insertions, 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,
543 int strategy)); 543 int strategy));
544 544
545 This is another version of deflateInit with more compression options. The 545 This is another version of deflateInit with more compression options. The
546 fields next_in, zalloc, zfree and opaque must be initialized before by the 546 fields zalloc, zfree and opaque must be initialized before by the caller.
547 caller.
548 547
549 The method parameter is the compression method. It must be Z_DEFLATED in 548 The method parameter is the compression method. It must be Z_DEFLATED in
550 this version of the library. 549 this version of the library.