Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fix div by 0 in hello Caused by: java.lang.ArithmeticException: / by zero at hello.respond(hello.java:159)
reger682dd9492593
diff --git a/htroot/yacy/hello.java b/htroot/yacy/hello.javaindex 2e3906490..6c5becde0 100644--- a/htroot/yacy/hello.java+++ b/htroot/yacy/hello.java@@ -169,7 +169,7 @@ public final class hello {time_backping = System.currentTimeMillis() - time;backping_method = "reportedip=" + reportedip;if (callback[0] >= 0) { success = true; break; }- if (callbackRemain-- <= 0) break; // no more tries left / restrict to a limited number of ips+ if (--callbackRemain <= 0) break; // no more tries left / restrict to a limited number of ips}}}