]> err.no Git - varnish/commitdiff
"HEAD" has 4 characters.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 28 Jul 2006 13:41:20 +0000 (13:41 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 28 Jul 2006 13:41:20 +0000 (13:41 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@568 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishlog/varnishlog.c

index 7fbfe1b72776127e2575a1383f33c5d3149e32f3..459d99cde9bb35b60c0be290e20b03367fcf276a 100644 (file)
@@ -129,7 +129,7 @@ order(unsigned char *p, int h_opt)
        case SLT_Request:
                if (h_opt && p[1] == 3 && !memcmp(p + 4, "GET", 3))
                        hc[u]++;
-               if (h_opt && p[1] == 4 && !memcmp(p + 4, "HEAD", 3))
+               if (h_opt && p[1] == 4 && !memcmp(p + 4, "HEAD", 4))
                        hc[u]++;
                v = 1;
                break;