Author: toad
Date: 2005-11-25 00:57:11 +0000 (Fri, 25 Nov 2005)
New Revision: 7593
Modified:
trunk/freenet/src/freenet/client/RetryTracker.java
Log:
doh
Modified: trunk/freenet/src/freenet/client/RetryTracker.java
===================================================================
--- trunk/freenet/src/freenet/client/RetryTracker.java 2005-11-25 00:56:19 UTC
(rev 7592)
+++ trunk/freenet/src/freenet/client/RetryTracker.java 2005-11-25 00:57:11 UTC
(rev 7593)
@@ -174,7 +174,7 @@
* we have run out of retries.
*/
public synchronized void nonfatalError(SplitfileBlock block, int
reasonCode) {
- if(!callOnProgress)
+ if(callOnProgress)
callback.onProgress();
nonfatalErrors.inc(reasonCode);
runningBlocks.remove(block);
@@ -197,7 +197,7 @@
* @param reasonCode A client-specific code indicating the type of
failure.
*/
public synchronized void fatalError(SplitfileBlock block, int
reasonCode) {
- if(!callOnProgress)
+ if(callOnProgress)
callback.onProgress();
fatalErrors.inc(reasonCode);
runningBlocks.remove(block);
@@ -249,7 +249,7 @@
}
public synchronized void success(SplitfileBlock block) {
- if(!callOnProgress)
+ if(callOnProgress)
callback.onProgress();
if(killed) return;
runningBlocks.remove(block);