From: phk Date: Tue, 17 Jun 2008 08:18:42 +0000 (+0000) Subject: Assert that the event manager found something for each pending fd. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8f20bfa5281a7f91e72c9b789fb90bc74222bee;p=varnish Assert that the event manager found something for each pending fd. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2719 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/mgt_event.c b/varnish-cache/bin/varnishd/mgt_event.c index 4c538165..ab7c7f0b 100644 --- a/varnish-cache/bin/varnishd/mgt_event.c +++ b/varnish-cache/bin/varnishd/mgt_event.c @@ -480,5 +480,6 @@ ev_schedule_one(struct evbase *evb) free(e); } } + assert(i == 0); return (1); }