Author: nextgens
Date: 2006-06-13 18:57:44 +0000 (Tue, 13 Jun 2006)
New Revision: 9184
Modified:
trunk/freenet/src/freenet/node/updater/NodeUpdater.java
Log:
fix a bug in the auto-updater's code : if the fetching fails, we weren't
retrying
Modified: trunk/freenet/src/freenet/node/updater/NodeUpdater.java
===================================================================
--- trunk/freenet/src/freenet/node/updater/NodeUpdater.java 2006-06-13
17:31:36 UTC (rev 9183)
+++ trunk/freenet/src/freenet/node/updater/NodeUpdater.java 2006-06-13
18:57:44 UTC (rev 9184)
@@ -155,6 +155,7 @@
queueFetchRevocation(0);
}catch (Exception e) {
Logger.error(this, "Error while starting the fetching:
"+e, e);
+ isFetching=false;
}
}
@@ -383,7 +384,7 @@
if(!state.getURI().equals(revocationURI)){
this.cg = state;
-
+ isFetching=false;
cg.cancel();
if(errorCode == FetchException.DATA_NOT_FOUND ||
errorCode ==
FetchException.ROUTE_NOT_FOUND ||