mtd/lib/zlib_inflate inflate.c,1.2,1.3
David Woodhouse
dwmw2 at infradead.org
Thu Jun 20 16:44:27 EDT 2002
Update of /home/cvs/mtd/lib/zlib_inflate
In directory phoenix.infradead.org:/tmp/cvs-serv19254
Modified Files:
inflate.c
Log Message:
ppp fix
Index: inflate.c
===================================================================
RCS file: /home/cvs/mtd/lib/zlib_inflate/inflate.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- inflate.c 20 Jun 2002 20:35:11 -0000 1.2
+++ inflate.c 20 Jun 2002 20:44:25 -0000 1.3
@@ -117,12 +117,12 @@
z_streamp z;
int f;
{
- int r;
+ int r, trv;
uInt b;
if (z == Z_NULL || z->state == Z_NULL || z->next_in == Z_NULL)
return Z_STREAM_ERROR;
- f = f == Z_FINISH ? Z_BUF_ERROR : Z_OK;
+ trv = f == Z_FINISH ? Z_BUF_ERROR : Z_OK;
r = Z_BUF_ERROR;
while (1) switch (z->state->mode)
{
@@ -193,10 +193,10 @@
break;
}
if (r == Z_OK)
- r = f;
+ r = trv;
if (r != Z_STREAM_END)
return r;
- r = f;
+ r = trv;
zlib_inflate_blocks_reset(z->state->blocks, z, &z->state->sub.check.was);
if (z->state->nowrap)
{
More information about the linux-mtd-cvs
mailing list