mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
deflate: Used -MAX_WBITS instead of hard coded -15.
This commit is contained in:
parent
d09334df72
commit
a2f18bb6fc
@ -60,7 +60,7 @@ deflate_open(struct stream_encoded *stream, int fd)
|
||||
data->fdread = fd;
|
||||
data->last_read = 0;
|
||||
|
||||
err = inflateInit2(&data->deflate_stream, -15);
|
||||
err = inflateInit2(&data->deflate_stream, -MAX_WBITS);
|
||||
if (err != Z_OK) {
|
||||
mem_free(data);
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user