Author: toad
Date: 2008-04-11 17:59:31 +0000 (Fri, 11 Apr 2008)
New Revision: 19195

Modified:
   trunk/freenet/src/freenet/node/UptimeEstimator.java
Log:
Doh

Modified: trunk/freenet/src/freenet/node/UptimeEstimator.java
===================================================================
--- trunk/freenet/src/freenet/node/UptimeEstimator.java 2008-04-11 17:57:03 UTC 
(rev 19194)
+++ trunk/freenet/src/freenet/node/UptimeEstimator.java 2008-04-11 17:59:31 UTC 
(rev 19195)
@@ -124,7 +124,7 @@
        private void schedule(long now) {
                long nextTime = (((now / PERIOD)) * (PERIOD)) + timeOffset;
                if(nextTime < now) nextTime += PERIOD;
-               ticker.queueTimedJob(this, System.currentTimeMillis() - 
nextTime);
+               ticker.queueTimedJob(this, nextTime - 
System.currentTimeMillis());
        }

        /**


Reply via email to