Commit 8aa43a80 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix another corner case in teardown of the event manager.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2723 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent cf12ebc5
......@@ -381,6 +381,8 @@ ev_compact_pfd(struct evbase *evb)
DBG(evb, "...[%d] fd = %d\n", u, p->fd);
if (p->fd >= 0)
continue;
if (u == evb->lpfd - 1)
break;
lfd = evb->pfd[evb->lpfd - 1].fd;
VTAILQ_FOREACH(ep, &evb->events, __list)
if (ep->fd == lfd)
......
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