Update of /cvsroot/freenet/freenet/src/freenet/node/rt
In directory sc8-pr-cvs1:/tmp/cvs-serv16657/src/freenet/node/rt
Modified Files:
StoredRoutingTable.java
Log Message:
6180: fix an NPE in reseeding
Index: StoredRoutingTable.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/rt/StoredRoutingTable.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- StoredRoutingTable.java 30 Aug 2003 23:16:52 -0000 1.5
+++ StoredRoutingTable.java 8 Sep 2003 17:14:50 -0000 1.6
@@ -144,10 +144,12 @@
}
public int countOutboundConnections(Identity i) {
+ if(node == null) return 0;
return node.connections.countOutboundConnections(i);
}
public int countInboundConnections(Identity i) {
+ if(node == null) return 0;
return node.connections.countInboundConnections(i);
}
_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs