Author: toad
Date: 2008-03-10 22:17:08 +0000 (Mon, 10 Mar 2008)
New Revision: 18445

Modified:
   trunk/freenet/src/freenet/node/NodeStats.java
Log:
Doh, that part should be expectedSent.
Last commit now reduced to logging.

Modified: trunk/freenet/src/freenet/node/NodeStats.java
===================================================================
--- trunk/freenet/src/freenet/node/NodeStats.java       2008-03-10 22:16:30 UTC 
(rev 18444)
+++ trunk/freenet/src/freenet/node/NodeStats.java       2008-03-10 22:17:08 UTC 
(rev 18445)
@@ -500,7 +500,7 @@
                if(logMINOR)
                        Logger.minor(this, "Expected received bytes: 
"+expectedReceived);
                if(!requestInputThrottle.instantGrab(expectedReceived)) {
-                       requestOutputThrottle.recycle(expectedReceived);
+                       requestOutputThrottle.recycle(expectedSent);
                        pInstantRejectIncoming.report(1.0);
                        rejected("Insufficient input bandwidth", isLocal);
                        return "Insufficient input bandwidth";


Reply via email to