[cvslog] (2004-12-20 22:19:01 UTC) Module eggdrop1.9: Change committed!

cvslog cvs at tsss.org
Mon Dec 20 16:19:02 CST 2004


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.9
Commit time: 2004-12-20 22:19:01 UTC
Commited by: Bryan Drewery <lordares at shatow.net>

Modified files:
     lib/eggdrop/dns.c

Log message:

* Potential loop problem

---------------------- diff included ----------------------
Index: eggdrop1.9/lib/eggdrop/dns.c
diff -u eggdrop1.9/lib/eggdrop/dns.c:1.9 eggdrop1.9/lib/eggdrop/dns.c:1.10
--- eggdrop1.9/lib/eggdrop/dns.c:1.9	Fri Dec 10 13:00:45 2004
+++ eggdrop1.9/lib/eggdrop/dns.c	Mon Dec 20 16:18:51 2004
@@ -18,7 +18,7 @@
  */
 
 #ifndef lint
-static const char rcsid[] = "$Id: dns.c,v 1.9 2004/12/10 19:00:45 lordares Exp $";
+static const char rcsid[] = "$Id: dns.c,v 1.10 2004/12/20 22:18:51 lordares Exp $";
 #endif
 
 #include <eggdrop/eggdrop.h>
@@ -370,6 +370,7 @@
 	for (cache_id = 0; cache_id < ncache; cache_id++) {
 		if (cache_expired(cache_id)) {
 			cache_del(cache_id);
+			if (cache_id == ncache)  break;
 			cache_id--;
 		}
 	}
----------------------- End of diff -----------------------



More information about the Changes mailing list