Commit 72610954 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add an assert for spotting ticket #162


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2088 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent fa81569f
......@@ -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++;
......
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