Author: toad
Date: 2007-06-13 16:20:44 +0000 (Wed, 13 Jun 2007)
New Revision: 13561

Modified:
   trunk/freenet/src/freenet/node/updater/NodeUpdateManager.java
Log:
Check whether we've started to fetch the revocation cert

Modified: trunk/freenet/src/freenet/node/updater/NodeUpdateManager.java
===================================================================
--- trunk/freenet/src/freenet/node/updater/NodeUpdateManager.java       
2007-06-13 16:09:06 UTC (rev 13560)
+++ trunk/freenet/src/freenet/node/updater/NodeUpdateManager.java       
2007-06-13 16:20:44 UTC (rev 13561)
@@ -346,7 +346,7 @@
                        if(!ignoreRevocation) {
                                if(now - revocationChecker.lastSucceeded() < 
RECENT_REVOCATION_INTERVAL)
                                        return true;
-                               if(now - revocationChecker.startedFetch > 
REVOCATION_FETCH_TIMEOUT)
+                               if(revocationChecker.startedFetch > 0 && now - 
revocationChecker.startedFetch > REVOCATION_FETCH_TIMEOUT)
                                        return true;
                        }
                }


Reply via email to