Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) Bugfix for NullpointerException if the seeds IP could not be resolved
thelib4ab183518d8
diff --git a/source/de/anomic/http/httpd.java b/source/de/anomic/http/httpd.javaindex 2eb54037b..2b37de81b 100644--- a/source/de/anomic/http/httpd.java+++ b/source/de/anomic/http/httpd.java@@ -1419,6 +1419,7 @@ public final class httpd implements serverHandler {if (thisSeedIP == null || thisSeedPort == null) return false;InetAddress seedInetAddress = httpc.dnsResolve(thisSeedIP);InetAddress hostInetAddress = httpc.dnsResolve(hostName);+ if (seedInetAddress == null || hostInetAddress == null) return false;// if it's equal, the hostname points to this seedreturn (seedInetAddress.equals(hostInetAddress));