Author: toad
Date: 2006-05-18 23:15:49 +0000 (Thu, 18 May 2006)
New Revision: 8780
Modified:
trunk/freenet/src/freenet/clients/http/QueueToadlet.java
trunk/freenet/src/freenet/node/Version.java
Log:
727: Fix some minor bugs on /queue/
Modified: trunk/freenet/src/freenet/clients/http/QueueToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/QueueToadlet.java 2006-05-18
21:22:26 UTC (rev 8779)
+++ trunk/freenet/src/freenet/clients/http/QueueToadlet.java 2006-05-18
23:15:49 UTC (rev 8780)
@@ -335,7 +335,7 @@
if(!uncompletedDirUpload.isEmpty()) {
writeTableHead("Directory uploads in progress",
new String[] { "", "Identifier", "Files", "Total Size", "Success",
"Persistence", "Key" }, buf);
- for(Iterator
i=completedUpload.iterator();i.hasNext();) {
+ for(Iterator
i=uncompletedDirUpload.iterator();i.hasNext();) {
ClientPutDir p = (ClientPutDir)
i.next();
writeRowStart(buf);
writeDeleteCell(p, buf);
@@ -375,7 +375,7 @@
buf.append("<td>");
NumberFormat nf = NumberFormat.getInstance();
nf.setMaximumFractionDigits(1);
- buf.append(nf.format(frac));
+ buf.append(nf.format(frac*100));
buf.append("%</td>\n");
}
}
Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2006-05-18 21:22:26 UTC (rev
8779)
+++ trunk/freenet/src/freenet/node/Version.java 2006-05-18 23:15:49 UTC (rev
8780)
@@ -18,7 +18,7 @@
public static final String protocolVersion = "1.0";
/** The build number of the current revision */
- private static final int buildNumber = 726;
+ private static final int buildNumber = 727;
/** Oldest build of Fred we will talk to */
private static final int lastGoodBuild = 698;