Author: toad
Date: 2006-01-05 19:14:39 +0000 (Thu, 05 Jan 2006)
New Revision: 7762

Modified:
   trunk/freenet/src/freenet/node/Node.java
   trunk/freenet/src/freenet/node/TestnetStatusUploader.java
   trunk/freenet/src/freenet/node/Version.java
Log:
316:
Status uploader too.

Modified: trunk/freenet/src/freenet/node/Node.java
===================================================================
--- trunk/freenet/src/freenet/node/Node.java    2006-01-05 19:12:29 UTC (rev 
7761)
+++ trunk/freenet/src/freenet/node/Node.java    2006-01-05 19:14:39 UTC (rev 
7762)
@@ -429,6 +429,8 @@
                insertStarter = new RequestStarter(insertThrottle, "Insert 
starter ("+portNumber+")");
                if(testnetHandler != null)
                        testnetHandler.start();
+               if(statusUploader != null)
+                       statusUploader.start();
                System.err.println("Created Node on port "+port);
     }


Modified: trunk/freenet/src/freenet/node/TestnetStatusUploader.java
===================================================================
--- trunk/freenet/src/freenet/node/TestnetStatusUploader.java   2006-01-05 
19:12:29 UTC (rev 7761)
+++ trunk/freenet/src/freenet/node/TestnetStatusUploader.java   2006-01-05 
19:14:39 UTC (rev 7762)
@@ -38,13 +38,16 @@
                System.err.println("You have no anonymity. Thank you for 
running a testnet node, this will help the developers to efficiently debug 
Freenet, by letting them (and anyone else who knows how!!) automatically fetch 
your log files.");
                System.err.println("We repeat: YOU HAVE NO ANONYMITY 
WHATSOEVER. DO NOT POST ANYTHING YOU DO NOT WANT TO BE ASSOCIATED WITH.");
                System.err.println("If you want a real freenet node, with 
anonymity, turn off testnet mode.");
+       }
+
+       void start() {
                uploaderThread = new Thread(this, "TestnetStatusUploader 
thread");
                uploaderThread.setDaemon(true);
                uploaderThread.start();
        }

        private final Node node;
-       private final Thread uploaderThread;
+       private Thread uploaderThread;
        private final int updateInterval;
        private Socket client;


Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2006-01-05 19:12:29 UTC (rev 
7761)
+++ trunk/freenet/src/freenet/node/Version.java 2006-01-05 19:14:39 UTC (rev 
7762)
@@ -20,7 +20,7 @@
        public static final String protocolVersion = "1.0";

        /** The build number of the current revision */
-       public static final int buildNumber = 315;
+       public static final int buildNumber = 316;

        /** Oldest build of Fred we will talk to */
        public static final int lastGoodBuild = 310;


Reply via email to