]> err.no Git - varnish/commitdiff
We should never have an object when we hit the error state.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 20 Nov 2007 11:23:37 +0000 (11:23 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 20 Nov 2007 11:23:37 +0000 (11:23 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2265 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_center.c

index eda2efd7039e6136e6674228fb6ac0aa8a131a1d..efc78259ac50015e3f1f4b35343f93e514bd4286 100644 (file)
@@ -275,6 +275,7 @@ static int
 cnt_error(struct sess *sp)
 {
 
+       AZ(sp->obj);
        RES_Error(sp, sp->err_code, sp->err_reason);
        sp->err_code = 0;
        sp->err_reason = NULL;