From: phk Date: Mon, 26 Jun 2006 16:31:32 +0000 (+0000) Subject: Dump numeric handling also, until we figure out trouble. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1723b9aeb0af540574645c04ab64c65c368bba6;p=varnish Dump numeric handling also, until we figure out trouble. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@238 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_vcl.c b/varnish-cache/bin/varnishd/cache_vcl.c index 3dc49426..73cabdda 100644 --- a/varnish-cache/bin/varnishd/cache_vcl.c +++ b/varnish-cache/bin/varnishd/cache_vcl.c @@ -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)