mirror of
https://github.com/curl/curl.git
synced 2026-07-27 03:57:16 +03:00
Dan Fandrich's zlib fix
This commit is contained in:
parent
2b277f85f5
commit
292ef5fabb
2 changed files with 6 additions and 0 deletions
|
|
@ -158,6 +158,8 @@ void hugehelp(void)
|
|||
z.zalloc = (alloc_func)Z_NULL;
|
||||
z.zfree = (free_func)Z_NULL;
|
||||
z.opaque = 0;
|
||||
z.next_in = NULL;
|
||||
z.avail_in = 0;
|
||||
|
||||
if (inflateInit2(&z, -MAX_WBITS) != Z_OK)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue