Commit 686dca51 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Initialize obj->entered to NAN so our asserts will detect if it is not

properly set.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3181 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent e7478e1c
......@@ -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++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment