From 7bcdcc0289de8f67c171b8f1e1574cb0f961c8ff Mon Sep 17 00:00:00 2001 From: des Date: Thu, 21 Feb 2008 20:50:16 +0000 Subject: [PATCH] Where applicable, use SPAZ() instead of AZ(). git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2526 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_session.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)); -- 2.39.5