[master] 4c3a1f2 Duh! Same s/i/o/ bug was copy & pasted.
Poul-Henning Kamp
phk at varnish-cache.org
Thu Mar 31 14:14:24 CEST 2011
commit 4c3a1f2506c41a228a61b20c8043a34580c793df
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Thu Mar 31 12:14:10 2011 +0000
Duh! Same s/i/o/ bug was copy & pasted.
diff --git a/bin/varnishd/cache_gzip.c b/bin/varnishd/cache_gzip.c
index fd360cf..e398583 100644
--- a/bin/varnishd/cache_gzip.c
+++ b/bin/varnishd/cache_gzip.c
@@ -368,7 +368,7 @@ VGZ_WrwGunzip(struct sess *sp, struct vgz *vg, void *ibuf, ssize_t ibufl,
VGZ_Ibuf(vg, ibuf, ibufl);
if (ibufl == 0)
return (VGZ_OK);
- VGZ_Obuf(vg, obuf + *obufp, ibufl - *obufp);
+ VGZ_Obuf(vg, obuf + *obufp, obufl - *obufp);
do {
if (obufl == *obufp)
i = VGZ_STUCK;
More information about the varnish-commit
mailing list