From 8b94fbffff9bdc4acc2f51980b09393964d80237 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 12 Sep 2008 07:36:21 +0000 Subject: [PATCH] Initialize obj->entered to NAN so our asserts will detect if it is not properly set. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3181 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_hash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/varnish-cache/bin/varnishd/cache_hash.c b/varnish-cache/bin/varnishd/cache_hash.c index 9f102024..ce6b7c0d 100644 --- a/varnish-cache/bin/varnishd/cache_hash.c +++ b/varnish-cache/bin/varnishd/cache_hash.c @@ -115,6 +115,7 @@ HSH_Prealloc(struct sess *sp) w->nobj->busy = 1; w->nobj->refcnt = 1; w->nobj->grace = NAN; + w->nobj->entered = NAN; VTAILQ_INIT(&w->nobj->store); VTAILQ_INIT(&w->nobj->esibits); VSL_stats->n_object++; -- 2.39.5