From 297120993def8475b9512f5d0a3a92329417e3a5 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 1 Aug 2008 07:46:43 +0000 Subject: [PATCH] Fix pass statistics counter git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3049 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_center.c | 1 + 1 file changed, 1 insertion(+) diff --git a/varnish-cache/bin/varnishd/cache_center.c b/varnish-cache/bin/varnishd/cache_center.c index 797df2d2..007a3d37 100644 --- a/varnish-cache/bin/varnishd/cache_center.c +++ b/varnish-cache/bin/varnishd/cache_center.c @@ -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; -- 2.39.5