Skip to content

Commit

Permalink
Correct the initialization requirements for deflateInit2().
Browse files Browse the repository at this point in the history
  • Loading branch information
madler committed Jan 31, 2018
1 parent bf88202 commit e99813d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions zlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e99813d

Please sign in to comment.