Author: j16sdiz
Date: 2009-04-19 15:36:44 +0000 (Sun, 19 Apr 2009)
New Revision: 27057

Modified:
   trunk/freenet/src/freenet/node/FailureTableEntry.java
Log:
Fix cleanup() bug

Modified: trunk/freenet/src/freenet/node/FailureTableEntry.java
===================================================================
--- trunk/freenet/src/freenet/node/FailureTableEntry.java       2009-04-19 
15:29:54 UTC (rev 27056)
+++ trunk/freenet/src/freenet/node/FailureTableEntry.java       2009-04-19 
15:36:44 UTC (rev 27057)
@@ -447,7 +447,9 @@
        public synchronized boolean cleanup() {
                long now = System.currentTimeMillis(); // don't pass in as a 
pass over the whole FT may take a while. get it in the method.
                
-               return cleanupRequestor(now) && cleanupRequested(now);
+               boolean empty = cleanupRequestor(now);
+               empty &= cleanupRequested(now);
+               return empty;
        }
 
        private boolean cleanupRequestor(long now) {

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to