Author: toad
Date: 2007-11-27 18:41:40 +0000 (Tue, 27 Nov 2007)
New Revision: 15981

Modified:
   trunk/freenet/src/freenet/node/Node.java
Log:
We don't have a longToHex...

Modified: trunk/freenet/src/freenet/node/Node.java
===================================================================
--- trunk/freenet/src/freenet/node/Node.java    2007-11-27 18:29:22 UTC (rev 
15980)
+++ trunk/freenet/src/freenet/node/Node.java    2007-11-27 18:41:40 UTC (rev 
15981)
@@ -616,7 +616,7 @@
                                raf.readFully(buf);
                                String s = new String(buf, "ISO-8859-1");
                                try {
-                                       oldBootID = Fields.hexToLong(s);
+                                       oldBootID = 
Fields.bytesToLong(HexUtil.hexToBytes(s));
                                } catch (NumberFormatException e) {
                                        oldBootID = -1;
                                }


Reply via email to