Update of /cvsroot/freenet/freenet/src/freenet/node
In directory sc8-pr-cvs1:/tmp/cvs-serv18198/src/freenet/node

Modified Files:
        Main.java 
Log Message:
fix NPE on reseed.


Index: Main.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/Main.java,v
retrieving revision 1.276
retrieving revision 1.277
diff -u -w -r1.276 -r1.277
--- Main.java   22 Oct 2003 22:07:14 -0000      1.276
+++ Main.java   23 Oct 2003 01:49:25 -0000      1.277
@@ -77,6 +77,7 @@
        static FnpLinkManager FNPmgr = null;
        public static RoutingTable origRT;
        public static int timerGranularity;
+       public static Identity id = null;
     
     static public FileLoggerHook loggerHook() {
                return loggerHook;
@@ -801,7 +802,8 @@
             //                                                            
Core.randSource);
                        
                        origRT = rt;
-                   rt = new FilterRoutingTable(rt, privateKey.getIdentity());
+                       id = privateKey.getIdentity();
+                   rt = new FilterRoutingTable(rt, id);
                        
             // load FT
 

_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to