Commit 04d699bc authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Assert that we got an objcore



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3780 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent ead78dbd
......@@ -95,6 +95,7 @@ HSH_Prealloc(struct sess *sp)
if (w->nobjcore == NULL) {
ALLOC_OBJ(oc, OBJCORE_MAGIC);
XXXAN(oc);
w->nobjcore = oc;
oc->flags |= OC_F_BUSY;
}
......
......@@ -10,4 +10,11 @@ flexelint \
flint.lnt \
*.c \
../../lib/libvarnish/*.c \
../../lib/libvcl/*.c
../../lib/libvcl/*.c \
> $T
if [ -f _flint.old ] ; then
diff -u _flint.old $T
mv $T _flint.old
fi
cat $T
rm $T
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