]> err.no Git - varnish/commitdiff
Initialize obj->entered to NAN so our asserts will detect if it is not
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 12 Sep 2008 07:36:21 +0000 (07:36 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 12 Sep 2008 07:36:21 +0000 (07:36 +0000)
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

index 9f10202495a9c179a3f91fe0dc8a9cbc2073fe8d..ce6b7c0de69a8379deced846cbf798fa629a5b9e 100644 (file)
@@ -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++;