Author: toad
Date: 2008-02-16 15:49:00 +0000 (Sat, 16 Feb 2008)
New Revision: 18000
Modified:
trunk/freenet/src/freenet/node/SendableGet.java
Log:
Don't double-call onSuccess().
Modified: trunk/freenet/src/freenet/node/SendableGet.java
===================================================================
--- trunk/freenet/src/freenet/node/SendableGet.java 2008-02-16 14:25:11 UTC
(rev 17999)
+++ trunk/freenet/src/freenet/node/SendableGet.java 2008-02-16 15:49:00 UTC
(rev 18000)
@@ -81,7 +81,7 @@
onFailure(new
LowLevelGetException(LowLevelGetException.INTERNAL_ERROR), keyNum, sched);
return true;
}
- onSuccess(block, false, keyNum, sched);
+ // Don't call onSuccess(), it will be called
for us by backdoor coalescing.
sched.succeeded(this.getParentGrabArray());
} catch (Throwable t) {
Logger.error(this, "Caught "+t, t);