From: des Date: Tue, 30 Oct 2007 12:38:34 +0000 (+0000) Subject: AFAICT, it is perfectly valid for sp->vcl to be NULL here. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=550125120485afce5a4ba54c15b892c5b9ff917b;p=varnish AFAICT, it is perfectly valid for sp->vcl to be NULL here. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2208 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_center.c b/varnish-cache/bin/varnishd/cache_center.c index fff4b079..98bb2bc5 100644 --- a/varnish-cache/bin/varnishd/cache_center.c +++ b/varnish-cache/bin/varnishd/cache_center.c @@ -191,7 +191,7 @@ cnt_done(struct sess *sp) 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);