Commit 40f53750 authored by David Woodhouse's avatar David Woodhouse

[PATCH] zlib_inflate return code fix. Again.

This bug, introduced by the fix for ppp_deflate, makes zisofs unhappy
with certain input.
parent 27568369
...@@ -110,7 +110,7 @@ int stream_size; ...@@ -110,7 +110,7 @@ int stream_size;
#undef NEEDBYTE #undef NEEDBYTE
#undef NEXTBYTE #undef NEXTBYTE
#define NEEDBYTE {if(z->avail_in==0)goto empty;r=f;} #define NEEDBYTE {if(z->avail_in==0)goto empty;r=trv;}
#define NEXTBYTE (z->avail_in--,z->total_in++,*z->next_in++) #define NEXTBYTE (z->avail_in--,z->total_in++,*z->next_in++)
int ZEXPORT zlib_inflate(z, f) int ZEXPORT zlib_inflate(z, f)
......
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