]> err.no Git - varnish/commitdiff
Fix pass statistics counter
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 1 Aug 2008 07:46:43 +0000 (07:46 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 1 Aug 2008 07:46:43 +0000 (07:46 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3049 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_center.c

index 797df2d21721c5bd9845e5871954a361480de43b..007a3d3724d60cfe8d293f61d0c0d674ad08bbc2 100644 (file)
@@ -762,6 +762,7 @@ cnt_pass(struct sess *sp)
                sp->step = STP_ERROR;
                return (0);
        }
+       sp->wrk->acct.pass++;
        HSH_Prealloc(sp);
        sp->obj = sp->wrk->nobj;
        sp->wrk->nobj = NULL;