From: des Date: Thu, 21 Feb 2008 20:50:16 +0000 (+0000) Subject: Where applicable, use SPAZ() instead of AZ(). X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bcdcc0289de8f67c171b8f1e1574cb0f961c8ff;p=varnish Where applicable, use SPAZ() instead of AZ(). git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2526 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_session.c b/varnish-cache/bin/varnishd/cache_session.c index 72d861cd..01ae3de6 100644 --- a/varnish-cache/bin/varnishd/cache_session.c +++ b/varnish-cache/bin/varnishd/cache_session.c @@ -129,7 +129,7 @@ SES_RefSrcAddr(struct sess *sp) sp->srcaddr = NULL; return; } - AZ(sp->srcaddr); + SPAZ(sp->srcaddr); u = crc32_l(sp->addr, strlen(sp->addr)); v = u % nsrchash; ch = &srchash[v]; @@ -336,8 +336,8 @@ SES_Delete(struct sess *sp) sm = sp->mem; CHECK_OBJ_NOTNULL(sm, SESSMEM_MAGIC); - AZ(sp->obj); - AZ(sp->vcl); + SPAZ(sp->obj); + SPAZ(sp->vcl); VSL_stats->n_sess--; ses_relsrcaddr(sp); assert(!isnan(b->first));