Author: toad
Date: 2006-12-15 20:31:09 +0000 (Fri, 15 Dec 2006)
New Revision: 11420

Modified:
   trunk/freenet/src/freenet/clients/http/DarknetConnectionsToadlet.java
Log:
Fix idle display as "1928w1d"...

Modified: trunk/freenet/src/freenet/clients/http/DarknetConnectionsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/DarknetConnectionsToadlet.java       
2006-12-15 20:12:35 UTC (rev 11419)
+++ trunk/freenet/src/freenet/clients/http/DarknetConnectionsToadlet.java       
2006-12-15 20:31:09 UTC (rev 11420)
@@ -921,7 +921,7 @@
        }

        private String idleToString(long now, long idle) {
-               if (idle == -1) {
+               if (idle <= 0) {
                        return " ";
                }
                long idleMilliseconds = now - idle;


Reply via email to