Author: toad
Date: 2008-07-11 11:21:43 +0000 (Fri, 11 Jul 2008)
New Revision: 21045

Modified:
   branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
Log:
Doh - retrying broken!

Modified: 
branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java 
2008-07-11 10:57:33 UTC (rev 21044)
+++ branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java 
2008-07-11 11:21:43 UTC (rev 21045)
@@ -578,6 +578,7 @@
                                Logger.minor(this, "Adding to cooldown queue: 
"+key+" for "+this+" was on segment "+seg+" now registered to "+sub);
                } else {
                        // If we are here we are going to retry
+                       sub.add(blockNo, false, container, context, false);
                        if(logMINOR)
                                Logger.minor(this, "Retrying block "+blockNo+" 
on "+this+" : tries="+tries+"/"+maxTries+" : "+sub);
                }


Reply via email to