Author: toad
Date: 2007-07-12 21:58:15 +0000 (Thu, 12 Jul 2007)
New Revision: 14057

Modified:
   trunk/freenet/src/freenet/client/async/SingleBlockInserter.java
Log:
RRNF counts as RNF

Modified: trunk/freenet/src/freenet/client/async/SingleBlockInserter.java
===================================================================
--- trunk/freenet/src/freenet/client/async/SingleBlockInserter.java     
2007-07-12 21:01:51 UTC (rev 14056)
+++ trunk/freenet/src/freenet/client/async/SingleBlockInserter.java     
2007-07-12 21:58:15 UTC (rev 14057)
@@ -162,7 +162,7 @@
                        Logger.error(this, "Unknown LowLevelPutException code: 
"+e.code);
                        errors.inc(InsertException.INTERNAL_ERROR);
                }
-               if(e.code == LowLevelPutException.ROUTE_NOT_FOUND) {
+               if(e.code == LowLevelPutException.ROUTE_NOT_FOUND || e.code == 
LowLevelPutException.ROUTE_REALLY_NOT_FOUND) {
                        consecutiveRNFs++;
                        if(logMINOR) Logger.minor(this, "Consecutive RNFs: 
"+consecutiveRNFs+" / "+ctx.consecutiveRNFsCountAsSuccess);
                        if(consecutiveRNFs == 
ctx.consecutiveRNFsCountAsSuccess) {


Reply via email to