Author: toad
Date: 2008-02-08 14:17:27 +0000 (Fri, 08 Feb 2008)
New Revision: 17697

Modified:
   trunk/freenet/src/freenet/node/FailureTableEntry.java
Log:
Fix ArrayIndexOutOfBounds

Modified: trunk/freenet/src/freenet/node/FailureTableEntry.java
===================================================================
--- trunk/freenet/src/freenet/node/FailureTableEntry.java       2008-02-08 
11:51:39 UTC (rev 17696)
+++ trunk/freenet/src/freenet/node/FailureTableEntry.java       2008-02-08 
14:17:27 UTC (rev 17697)
@@ -263,6 +263,7 @@
                        newRequestedLocs[toIndex] = requestedFrom.getLocation();
                        newRequestedTimeouts[toIndex] = -1;
                        newRequestedTimeoutHTLs[toIndex] = (short) -1;
+                       ret = toIndex;
                        toIndex++;
                }



Reply via email to