Author: j16sdiz
Date: 2008-12-05 06:49:15 +0000 (Fri, 05 Dec 2008)
New Revision: 24059

Modified:
   trunk/freenet/src/freenet/node/PeerNode.java
Log:
bug 2761: apply the hack only on startup, this make verify the fix easier

Modified: trunk/freenet/src/freenet/node/PeerNode.java
===================================================================
--- trunk/freenet/src/freenet/node/PeerNode.java        2008-12-05 06:41:41 UTC 
(rev 24058)
+++ trunk/freenet/src/freenet/node/PeerNode.java        2008-12-05 06:49:15 UTC 
(rev 24059)
@@ -714,6 +714,7 @@
 
                        // FIXME remove this after 1189
                        // temp hack to fix bad pubURI (see bug 2761)
+                       if (onStartup)
                        while (arkPubKey.matches(".*-\\d+$")) {
                                arkPubKey = arkPubKey.replaceAll("-\\d+$", "");
                        }

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to