]> err.no Git - varnish/commitdiff
log StatAddr with fd=0 to avoid out-of-order confusion
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 2 Aug 2006 19:12:01 +0000 (19:12 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 2 Aug 2006 19:12:01 +0000 (19:12 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@610 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_session.c

index c98976621eca940e9393475c21ddc4cf2d827597..85c4d69a72d82d7e0965686e1def76deeaca6956 100644 (file)
@@ -146,7 +146,7 @@ SES_Charge(struct sess *sp)
        
        AZ(pthread_mutex_lock(&ses_mtx));
        ses_sum_acct(b, a);
-       VSL(SLT_StatAddr, sp->id, "%s 0 %d %ju %ju %ju %ju %ju %ju %ju",
+       VSL(SLT_StatAddr, 0, "%s 0 %d %ju %ju %ju %ju %ju %ju %ju",
            sp->srcaddr->addr, time(NULL) - b->first,
            b->sess, b->req, b->pipe, b->pass,
            b->fetch, b->hdrbytes, b->bodybytes);