Skip to content

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

fix typo in parsing "cachePolicy" parameter

bhoerdzn5057f27bbdff
diff --git a/htroot/CrawlStartExpert_p.java b/htroot/CrawlStartExpert_p.java
index 84259ed56..687e92e63 100644
--- a/htroot/CrawlStartExpert_p.java
+++ b/htroot/CrawlStartExpert_p.java
@@ -466,7 +466,7 @@ public class CrawlStartExpert_p {
// Policy for usage of Web Cache
if (post != null && post.containsKey("cachePolicy")) {
- final String cachePolicy = post.get("chachePolicy", "");
+ final String cachePolicy = post.get("cachePolicy", "");
if (cachePolicy.equalsIgnoreCase("nocache")) {
prop.put("cachePolicy_nocache", "1");
} else if (cachePolicy.equalsIgnoreCase("ifexist")) {