From ac414335d1ae2efae1fc48648b4e607ed87279d9 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 8 Oct 2007 11:28:11 +0000 Subject: [PATCH] Add an assert for spotting ticket #162 git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2088 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_acceptor_kqueue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/varnish-cache/bin/varnishd/cache_acceptor_kqueue.c b/varnish-cache/bin/varnishd/cache_acceptor_kqueue.c index b98f4b99..800bc102 100644 --- a/varnish-cache/bin/varnishd/cache_acceptor_kqueue.c +++ b/varnish-cache/bin/varnishd/cache_acceptor_kqueue.c @@ -88,6 +88,7 @@ vca_kev(const struct kevent *kp) while (i >= sizeof ss[0]) { CHECK_OBJ_NOTNULL(ss[j], SESS_MAGIC); assert(ss[j]->fd >= 0); + AZ(ss[j]->obj); VTAILQ_INSERT_TAIL(&sesshead, ss[j], list); vca_kq_sess(ss[j], EV_ADD); j++; -- 2.39.5