Fixes a recent addition to CVS. Please apply.
--- freenet/src/freenet/OpenConnectionManager.java 2003-08-18 21:47:30.000000000 -0500
+++ freenet/src/freenet/OpenConnectionManager.new.java 2003-08-19 13:36:25.000000000 -0500
@@ -157,6 +157,7 @@
for (Enumeration e = chs.getAll(id) ; e.hasMoreElements() ; ) {
ConnectionHandler res = (ConnectionHandler) e.nextElement();
if (!res.isOpen()) {
+ if(Core.logger.shouldLog(Core.logger.DEBUG))
Core.logger.log(this, "Skipped closed connection "+res,
Logger.DEBUG);
// It will be terminated eventually
@@ -187,6 +188,7 @@
for (Enumeration e = chs.getAll(id) ; e.hasMoreElements() ; ) {
res = (ConnectionHandler) e.nextElement();
if (!res.isOpen()) {
+ if(Core.logger.shouldLog(Core.logger.DEBUG))
Core.logger.log(this, "Skipped closed connection "+res,
Logger.DEBUG);
// It will be terminated eventually