I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit ee32b079 authored by jrandom's avatar jrandom Committed by zzz
Browse files

2004-12-19 jrandom

    * Fix for a race on startup wrt the new stats (thanks susi!)
parent 81f04ca6
No related branches found
No related tags found
No related merge requests found
$Id: history.txt,v 1.113 2004/12/19 06:04:57 jrandom Exp $
$Id: history.txt,v 1.114 2004/12/19 11:27:10 jrandom Exp $
2004-12-19 jrandom
* Fix for a race on startup wrt the new stats (thanks susi!)
2004-12-19 jrandom
* Added three new stats - router.activePeers, router.fastPeers, and
......
......@@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
*
*/
public class RouterVersion {
public final static String ID = "$Revision: 1.118 $ $Date: 2004/12/19 06:04:57 $";
public final static String ID = "$Revision: 1.119 $ $Date: 2004/12/19 11:27:10 $";
public final static String VERSION = "0.4.2.4";
public final static long BUILD = 3;
public final static long BUILD = 4;
public static void main(String args[]) {
System.out.println("I2P Router version: " + VERSION);
System.out.println("Router ID: " + RouterVersion.ID);
......
......@@ -51,7 +51,7 @@ public class CommSystemFacadeImpl extends CommSystemFacade {
_manager.restart();
}
public int countActivePeers() { return _manager.countActivePeers(); }
public int countActivePeers() { return (_manager == null ? 0 : _manager.countActivePeers()); }
public List getBids(OutNetMessage msg) {
return _manager.getBids(msg);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment