r2208 - trunk/varnish-cache/bin/varnishd

des at projects.linpro.no des at projects.linpro.no
Tue Oct 30 13:38:35 CET 2007


Author: des
Date: 2007-10-30 13:38:34 +0100 (Tue, 30 Oct 2007)
New Revision: 2208

Modified:
   trunk/varnish-cache/bin/varnishd/cache_center.c
Log:
AFAICT, it is perfectly valid for sp->vcl to be NULL here.


Modified: trunk/varnish-cache/bin/varnishd/cache_center.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_center.c	2007-10-30 12:36:09 UTC (rev 2207)
+++ trunk/varnish-cache/bin/varnishd/cache_center.c	2007-10-30 12:38:34 UTC (rev 2208)
@@ -191,7 +191,7 @@
 	int i;
 
 	CHECK_OBJ_NOTNULL(sp, SESS_MAGIC);
-	CHECK_OBJ_NOTNULL(sp->vcl, VCL_CONF_MAGIC);
+	CHECK_OBJ_ORNULL(sp->vcl, VCL_CONF_MAGIC);
 
 	AZ(sp->obj);
 	AZ(sp->bereq);




More information about the varnish-commit mailing list