From bfe1f55706a73a875c63c76050f17df346c1050e Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 11 Sep 2006 09:00:44 +0000 Subject: [PATCH] braino in last commit. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@954 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_center.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/varnish-cache/bin/varnishd/cache_center.c b/varnish-cache/bin/varnishd/cache_center.c index 838d5665..fbc970b5 100644 --- a/varnish-cache/bin/varnishd/cache_center.c +++ b/varnish-cache/bin/varnishd/cache_center.c @@ -94,7 +94,6 @@ static int cnt_done(struct sess *sp) { double dh, dp, da; - struct timespec te; AZ(sp->obj); AZ(sp->vbc); @@ -108,7 +107,7 @@ cnt_done(struct sess *sp) sp->wrk->idle = sp->t_end.tv_sec; dh = cnt_dt(&sp->t_open, &sp->t_req); dp = cnt_dt(&sp->t_req, &sp->t_resp); - da = cnt_dt(&sp->t_resp, &te); + da = cnt_dt(&sp->t_resp, &sp->t_end); VSL(SLT_ReqEnd, sp->id, "%u %ld.%09ld %.9f %.9f %.9f", sp->xid, (long)sp->t_req.tv_sec, (long)sp->t_req.tv_nsec, dh, dp, da); -- 2.39.5