]> err.no Git - varnish/commitdiff
Use id for printing
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 4 Aug 2006 19:42:37 +0000 (19:42 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 4 Aug 2006 19:42:37 +0000 (19:42 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@642 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_center.c

index 790443fcfdf48b6038d306ab22aafe3266c0dfd8..57e32fb135f16b7c3fb158497e266add7d63f0b9 100644 (file)
@@ -106,7 +106,7 @@ cnt_done(struct sess *sp)
        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);
-       VSL(SLT_ReqServTime, sp->fd, "%u %ld.%09ld %.9f %.9f %.9f",
+       VSL(SLT_ReqServTime, 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);