]> err.no Git - varnish/commitdiff
Where applicable, use SPAZ() instead of AZ().
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 21 Feb 2008 20:50:16 +0000 (20:50 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 21 Feb 2008 20:50:16 +0000 (20:50 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2526 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_session.c

index 72d861cd752c5f99c399e5ff342ef5c8eee23844..01ae3de6d1fb8661dd0803e41f101b6ee3a74561 100644 (file)
@@ -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));