Skip to content

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

fix for latest commit

orbiterb15b059c0dfe
diff --git a/htroot/yacy/hello.java b/htroot/yacy/hello.java
index f88baa338..2bcd87b67 100644
--- a/htroot/yacy/hello.java
+++ b/htroot/yacy/hello.java
@@ -107,7 +107,7 @@ public final class hello {
}
int urls = -1;
- if (sb.clusterhashes != null) remoteSeed.setAlternativeAddress(sb.clusterhashes.get(remoteSeed.hash));
+ if (sb.clusterhashes != null) remoteSeed.setAlternativeAddress(sb.clusterhashes.get(remoteSeed.hash.getBytes()));
// if the remote client has reported its own IP address and the client supports
// the port forwarding feature (if client version >= 0.383) then we try to
diff --git a/source/de/anomic/plasma/plasmaSwitchboard.java b/source/de/anomic/plasma/plasmaSwitchboard.java
index 126e0b9fe..da5ed8ea0 100644
--- a/source/de/anomic/plasma/plasmaSwitchboard.java
+++ b/source/de/anomic/plasma/plasmaSwitchboard.java
@@ -1740,7 +1740,7 @@ public final class plasmaSwitchboard extends serverAbstractSwitch<IndexingStack.
final yacySeed initiatorPeer = queueEntry.initiatorPeer();
if ((processCase == plasmaSwitchboardConstants.PROCESSCASE_6_GLOBAL_CRAWLING) && (initiatorPeer != null)) {
log.logInfo("Sending crawl receipt for '" + queueEntry.url().toNormalform(false, true) + "' to " + initiatorPeer.getName());
- if (clusterhashes != null) initiatorPeer.setAlternativeAddress(clusterhashes.get(initiatorPeer.hash));
+ if (clusterhashes != null) initiatorPeer.setAlternativeAddress(clusterhashes.get(initiatorPeer.hash.getBytes()));
// start a thread for receipt sending to avoid a blocking here
new Thread(new receiptSending(initiatorPeer, newEntry), "sending receipt to " + initiatorPeer.hash).start();
}