r2719 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Tue Jun 17 10:18:43 CEST 2008


Author: phk
Date: 2008-06-17 10:18:42 +0200 (Tue, 17 Jun 2008)
New Revision: 2719

Modified:
   trunk/varnish-cache/bin/varnishd/mgt_event.c
Log:
Assert that the event manager found something for each pending fd.



Modified: trunk/varnish-cache/bin/varnishd/mgt_event.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_event.c	2008-06-17 08:03:58 UTC (rev 2718)
+++ trunk/varnish-cache/bin/varnishd/mgt_event.c	2008-06-17 08:18:42 UTC (rev 2719)
@@ -480,5 +480,6 @@
 			free(e);
 		}
 	}
+	assert(i == 0);
 	return (1);
 }




More information about the varnish-commit mailing list