r954 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Mon Sep 11 11:00:44 CEST 2006
Author: phk
Date: 2006-09-11 11:00:44 +0200 (Mon, 11 Sep 2006)
New Revision: 954
Modified:
trunk/varnish-cache/bin/varnishd/cache_center.c
Log:
braino in last commit.
Modified: trunk/varnish-cache/bin/varnishd/cache_center.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_center.c 2006-09-11 08:58:42 UTC (rev 953)
+++ trunk/varnish-cache/bin/varnishd/cache_center.c 2006-09-11 09:00:44 UTC (rev 954)
@@ -94,7 +94,6 @@
cnt_done(struct sess *sp)
{
double dh, dp, da;
- struct timespec te;
AZ(sp->obj);
AZ(sp->vbc);
@@ -108,7 +107,7 @@
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);
More information about the varnish-commit
mailing list