Skip to content

Commit e99813d

Browse files
committed
Correct the initialization requirements for deflateInit2().
1 parent bf88202 commit e99813d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

zlib.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,8 +543,7 @@ ZEXTERN int ZEXPORT deflateInit2 OF((z_streamp strm,
543543
int strategy));
544544
545545
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
547-
caller.
546+
fields zalloc, zfree and opaque must be initialized before by the caller.
548547
549548
The method parameter is the compression method. It must be Z_DEFLATED in
550549
this version of the library.

0 commit comments

Comments
 (0)