Skip to content

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

another fix

orbiter870066ab3510
diff --git a/htroot/ViewProfile.java b/htroot/ViewProfile.java
index 25628156b..8b2256c98 100644
--- a/htroot/ViewProfile.java
+++ b/htroot/ViewProfile.java
@@ -97,7 +97,7 @@ public class ViewProfile {
} catch (final IOException e) {}
// try to get the profile from remote peer
- if (sb.clusterhashes != null) seed.setAlternativeAddress(sb.clusterhashes.get(seed.hash));
+ if (sb.clusterhashes != null) seed.setAlternativeAddress(sb.clusterhashes.get(seed.hash.getBytes()));
profile = yacyClient.getProfile(seed);
// if profile did not arrive, say that peer is disconnected