Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

fix for http://forum.yacy-websuche.de/viewtopic.php?f=6&t=2093&hilit=

orbiter4338dcf93696
diff --git a/source/de/anomic/yacy/yacySeed.java b/source/de/anomic/yacy/yacySeed.java
index 4630c4635..1b8c44cec 100644
--- a/source/de/anomic/yacy/yacySeed.java
+++ b/source/de/anomic/yacy/yacySeed.java
@@ -741,10 +741,10 @@ public class yacySeed implements Cloneable {
// generate a seed for the local peer
// this is the birthplace of a seed, that then will start to travel to other peers
- final byte[] hash = bestGap(db);
- yacyCore.log.logInfo("init: OWN SEED = " + hash);
+ final String hashs = new String(bestGap(db));
+ yacyCore.log.logInfo("init: OWN SEED = " + hashs);
- final yacySeed newSeed = new yacySeed(new String(hash));
+ final yacySeed newSeed = new yacySeed(hashs);
// now calculate other information about the host
newSeed.dna.put(yacySeed.NAME, (name) == null ? "anonymous" : name);