chiark / gitweb /
adns__checkqueues fix for large queues
authorian <ian>
Thu, 29 Jul 1999 21:35:17 +0000 (21:35 +0000)
committerian <ian>
Thu, 29 Jul 1999 21:35:17 +0000 (21:35 +0000)
src/setup.c

index 9471c4d..23a01d1 100644 (file)
@@ -603,12 +603,6 @@ adns_query adns_forallqueries_next(adns_state ads, void **context_r) {
 }
 
 void adns__checkqueues(adns_state ads) {
-  int i;
-
-  i= 0;
   adns_forallqueries_begin(ads);
-  while (adns_forallqueries_next(ads,0)) {
-    i++;
-    assert(i<1000);
-  }
+  while (adns_forallqueries_next(ads,0));
 }