r26861 - trunk/freenet/src/freenet/client/async

[email protected] Wed, 15 Apr 2009 22:36:46 +0000
Newsgroups gmane.network.freenet.cvs
Message-ID <[email protected]>
Author: toad
Date: 2009-04-15 22:36:46 +0000 (Wed, 15 Apr 2009)
New Revision: 26861

Modified:
   trunk/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
Log:
Comment


Modified: trunk/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
===================================================================
--- trunk/freenet/src/freenet/client/async/SplitFileFetcherSegment.java	2009-04-15 22:32:48 UTC (rev 26860)
+++ trunk/freenet/src/freenet/client/async/SplitFileFetcherSegment.java	2009-04-15 22:36:46 UTC (rev 26861)
@@ -1217,6 +1217,7 @@
 				if(logMINOR)
 					Logger.minor(this, "Retrying after cooldown on "+this+": data block "+i+" on "+this+" : tries="+tries+"/"+maxTries+" : "+sub);
 				if(v == null) v = new Vector<SplitFileFetcherSubSegment>();
+				// We always schedule. FIXME: only schedule if sub.add() returns true???
 				sub.add(i, true, container, context, true);
 				if(!v.contains(sub)) v.add(sub);
 				notFound = false;