[experimental-ims] ecd8f53 Only call pan_busyobj when we have a	busyobj
    Geoff Simmons 
    geoff at varnish-cache.org
       
    Mon Jan  9 21:52:46 CET 2012
    
    
  
commit ecd8f535d8add7fc1a02f0b041939099a6183fa3
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date:   Thu Dec 1 12:51:26 2011 +0100
    Only call pan_busyobj when we have a busyobj
diff --git a/bin/varnishd/cache/cache_panic.c b/bin/varnishd/cache/cache_panic.c
index 0908b74..cf39489 100644
--- a/bin/varnishd/cache/cache_panic.c
+++ b/bin/varnishd/cache/cache_panic.c
@@ -259,7 +259,8 @@ pan_sess(const struct sess *sp)
 	VSB_printf(pan_vsp, "  restarts = %d, esi_level = %d\n",
 	    sp->restarts, sp->esi_level);
 
-	pan_busyobj(sp->wrk->busyobj);
+	if (sp->wrk->busyobj != NULL)
+		pan_busyobj(sp->wrk->busyobj);
 
 	pan_ws(sp->ws, 2);
 	pan_http("req", sp->http, 2);
    
    
More information about the varnish-commit
mailing list