Author: toad
Date: 2008-06-26 16:52:51 +0000 (Thu, 26 Jun 2008)
New Revision: 20757

Modified:
   branches/db4o/freenet/src/freenet/node/SendableGet.java
Log:
Include keyNum if cancelled

Modified: branches/db4o/freenet/src/freenet/node/SendableGet.java
===================================================================
--- branches/db4o/freenet/src/freenet/node/SendableGet.java     2008-06-26 
16:52:00 UTC (rev 20756)
+++ branches/db4o/freenet/src/freenet/node/SendableGet.java     2008-06-26 
16:52:51 UTC (rev 20757)
@@ -76,7 +76,7 @@
                if(isCancelled()) {
                        if(logMINOR) Logger.minor(this, "Cancelled: "+this);
                        // callbacks must initially run at HIGH_PRIORITY so 
they are executed before we remove the key from the currently running list
-                       sched.callFailure(this, new 
LowLevelGetException(LowLevelGetException.CANCELLED), null, 
NativeThread.HIGH_PRIORITY, req);
+                       sched.callFailure(this, new 
LowLevelGetException(LowLevelGetException.CANCELLED), keyNum, 
NativeThread.HIGH_PRIORITY, req);
                        return false;
                }
                try {


Reply via email to