Author: toad
Date: 2009-04-23 17:23:15 +0000 (Thu, 23 Apr 2009)
New Revision: 27265
Modified:
trunk/freenet/src/freenet/client/async/USKFetcher.java
Log:
Only decode if lastEd == ed
Modified: trunk/freenet/src/freenet/client/async/USKFetcher.java
===================================================================
--- trunk/freenet/src/freenet/client/async/USKFetcher.java 2009-04-23
17:22:45 UTC (rev 27264)
+++ trunk/freenet/src/freenet/client/async/USKFetcher.java 2009-04-23
17:23:15 UTC (rev 27265)
@@ -676,7 +676,7 @@
Vector<USKAttempt> killAttempts;
synchronized(this) {
if(completed || cancelled) return;
- decode = lastEd >= ed && data != null;
+ decode = lastEd == ed && data != null;
ed = Math.max(lastEd, ed);
if(logMINOR) Logger.minor(this, "Latest: "+ed);
long addTo = ed + minFailures;
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs