Skip to content

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

Bugfix

borg-03009b94b374cc6d
diff --git a/htroot/ProxyIndexingMonitor_p.java b/htroot/ProxyIndexingMonitor_p.java
index 68ef2e483..acb199de5 100644
--- a/htroot/ProxyIndexingMonitor_p.java
+++ b/htroot/ProxyIndexingMonitor_p.java
@@ -99,7 +99,7 @@ public class ProxyIndexingMonitor_p {
newProxyCachePath = post.get("proxyCache", "DATA/HTCACHE");
newProxyCachePath = newProxyCachePath.replace('\\', '/');
if (newProxyCachePath.endsWith("/")) {
- newProxyCachePath.substring(0, newProxyCachePath.length() - 1);
+ newProxyCachePath = newProxyCachePath.substring(0, newProxyCachePath.length() - 1);
}
final File cache = new File(newProxyCachePath);
if (!cache.isDirectory() && !cache.isFile()) cache.mkdirs();