[prev in list] [next in list] [prev in thread] [next in thread] 

List:       varnish-commit
Subject:    [master] 4c3a1f2 Duh!  Same s/i/o/ bug was copy & pasted.
From:       phk () varnish-cache ! org (Poul-Henning Kamp)
Date:       2011-03-31 12:14:24
Message-ID: E1Q5Glc-0001RB-FE () project ! varnish-software ! com
[Download RAW message or body]

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;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic