From c8f20bfa5281a7f91e72c9b789fb90bc74222bee Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 17 Jun 2008 08:18:42 +0000 Subject: [PATCH] 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 --- varnish-cache/bin/varnishd/mgt_event.c | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.39.5