r3855 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Mon Mar 2 13:56:03 CET 2009


Author: phk
Date: 2009-03-02 13:56:03 +0100 (Mon, 02 Mar 2009)
New Revision: 3855

Modified:
   trunk/varnish-cache/bin/varnishd/cache_panic.c
Log:
Give coords for WRONG



Modified: trunk/varnish-cache/bin/varnishd/cache_panic.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_panic.c	2009-03-02 12:54:10 UTC (rev 3854)
+++ trunk/varnish-cache/bin/varnishd/cache_panic.c	2009-03-02 12:56:03 UTC (rev 3855)
@@ -260,7 +260,7 @@
 	switch(xxx) {
 	case 3:
 		vsb_printf(vsp,
-		    "Wrong turn:\n%s\n", cond);
+		    "Wrong turn at %s:%d:\n%s\n", file, line, cond);
 		break;
 	case 2:
 		vsb_printf(vsp,



More information about the varnish-commit mailing list