1
0
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:
Witold Filipczyk 2007-05-08 15:28:33 +02:00 committed by Witold Filipczyk
parent d09334df72
commit a2f18bb6fc

View File

@ -60,7 +60,7 @@ deflate_open(struct stream_encoded *stream, int fd)
data->fdread = fd; data->fdread = fd;
data->last_read = 0; data->last_read = 0;
err = inflateInit2(&data->deflate_stream, -15); err = inflateInit2(&data->deflate_stream, -MAX_WBITS);
if (err != Z_OK) { if (err != Z_OK) {
mem_free(data); mem_free(data);
return -1; return -1;