Commit c29c3582 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix a really stupid typo: s/ibufl/obufl/

parent feafbe25
...@@ -364,7 +364,10 @@ VGZ_WrwGunzip(struct sess *sp, struct vgz *vg, void *ibuf, ssize_t ibufl, ...@@ -364,7 +364,10 @@ VGZ_WrwGunzip(struct sess *sp, struct vgz *vg, void *ibuf, ssize_t ibufl,
const void *dp; const void *dp;
CHECK_OBJ_NOTNULL(vg, VGZ_MAGIC); CHECK_OBJ_NOTNULL(vg, VGZ_MAGIC);
assert(obufl > 16);
VGZ_Ibuf(vg, ibuf, ibufl); VGZ_Ibuf(vg, ibuf, ibufl);
if (ibufl == 0)
return (VGZ_OK);
VGZ_Obuf(vg, obuf + *obufp, ibufl - *obufp); VGZ_Obuf(vg, obuf + *obufp, ibufl - *obufp);
do { do {
if (obufl == *obufp) if (obufl == *obufp)
...@@ -382,7 +385,7 @@ VGZ_WrwGunzip(struct sess *sp, struct vgz *vg, void *ibuf, ssize_t ibufl, ...@@ -382,7 +385,7 @@ VGZ_WrwGunzip(struct sess *sp, struct vgz *vg, void *ibuf, ssize_t ibufl,
if (WRW_Flush(sp->wrk)) if (WRW_Flush(sp->wrk))
return (-1); return (-1);
*obufp = 0; *obufp = 0;
VGZ_Obuf(vg, obuf + *obufp, ibufl - *obufp); VGZ_Obuf(vg, obuf + *obufp, obufl - *obufp);
} }
} while (!VGZ_IbufEmpty(vg)); } while (!VGZ_IbufEmpty(vg));
return (i); return (i);
......
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