]> err.no Git - varnish/commitdiff
Dump numeric handling also, until we figure out trouble.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 26 Jun 2006 16:31:32 +0000 (16:31 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 26 Jun 2006 16:31:32 +0000 (16:31 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@238 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_vcl.c

index 3dc49426706b1564cbd4e1ba837e7f9eeae003bd..73cabddaf95958fb342fd77f79e29b7a3f3e9cab 100644 (file)
@@ -208,10 +208,8 @@ static void
 CheckHandling(struct sess *sp, const char *func, unsigned bitmap)
 {
        unsigned u;
-       const char *n;
 
        u = sp->handling;
-       n = HandlingName(u);
        if (u & (u - 1))
                VSL(SLT_Error, sp->fd,
                    "Illegal handling after %s function: 0x%x", func, u);
@@ -231,7 +229,7 @@ VCL_##func##_method(struct sess *sp)                \
        sp->handling = 0;                       \
        sp->vcl->func##_func(sp);               \
        CheckHandling(sp, #func, (bitmap));     \
-       VSL(SLT_vcl_##func, sp->fd, "%s", HandlingName(sp->handling)); \
+       VSL(SLT_vcl_##func, sp->fd, "0x%x %s", sp->handling, HandlingName(sp->handling)); \
 }
 
 #define VCL_RET_MAC(l,u,b)