Commit a5d592c8 authored by Francois Cartegnie's avatar Francois Cartegnie

access: http: only warn on deflate errors

parent 1cb158c9
......@@ -907,7 +907,8 @@ static ssize_t ReadCompressed( access_t *p_access, uint8_t *p_buffer,
p_sys->inflate.stream.next_out = p_buffer;
i_ret = inflate( &p_sys->inflate.stream, Z_SYNC_FLUSH );
msg_Warn( p_access, "inflate return value: %d, %s", i_ret, p_sys->inflate.stream.msg );
if ( i_ret != Z_OK && i_ret != Z_STREAM_END )
msg_Warn( p_access, "inflate return value: %d, %s", i_ret, p_sys->inflate.stream.msg );
return i_len - p_sys->inflate.stream.avail_out;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment