missed a marker variable.
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2542
d4fa192b-c00b-0410-8231-
f00ffab90ce4
CHECK_OBJ_NOTNULL(o, OBJECT_MAGIC);
AZ(o->objexp);
assert(o->busy);
+ assert(o->cacheable);
o->objexp = calloc(sizeof *o->objexp, 1);
AN(o->objexp);
o->objexp->magic = OBJEXP_MAGIC;
{
struct objexp *oe;
+ CHECK_OBJ_NOTNULL(o, OBJECT_MAGIC);
oe = o->objexp;
CHECK_OBJ_NOTNULL(oe, OBJEXP_MAGIC);
o = oe->obj;
CHECK_OBJ(o, OBJECT_MAGIC);
if (o->ttl >= t) {
- o = NULL;
+ oe = NULL;
break;
}
if (o->busy) {