Author: toad
Date: 2006-11-28 20:29:17 +0000 (Tue, 28 Nov 2006)
New Revision: 11095
Modified:
trunk/freenet/src/freenet/client/async/USKInserter.java
Log:
Allow insertion at the specified edition number.
Modified: trunk/freenet/src/freenet/client/async/USKInserter.java
===================================================================
--- trunk/freenet/src/freenet/client/async/USKInserter.java 2006-11-28
20:13:33 UTC (rev 11094)
+++ trunk/freenet/src/freenet/client/async/USKInserter.java 2006-11-28
20:29:17 UTC (rev 11095)
@@ -103,7 +103,7 @@
}
private void scheduleInsert() {
- long edNo = Math.max(edition, ctx.uskManager.lookup(pubUSK))+1;
+ long edNo = Math.max(edition, ctx.uskManager.lookup(pubUSK)+1);
synchronized(this) {
if(finished) return;
edition = edNo;