Skip to content

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

fix for surrogate loader

orbiterd977dd9a9693
diff --git a/source/de/anomic/plasma/plasmaSwitchboard.java b/source/de/anomic/plasma/plasmaSwitchboard.java
index e1b42cc91..95f704c52 100644
--- a/source/de/anomic/plasma/plasmaSwitchboard.java
+++ b/source/de/anomic/plasma/plasmaSwitchboard.java
@@ -1275,8 +1275,7 @@ public final class plasmaSwitchboard extends serverAbstractSwitch<IndexingStack.
for (int i = 0; i < surrogatelist.length; i++) {
if (surrogatelist[i].endsWith(".xml")) {
// read the surrogate file and store entry in index
- processSurrogate(surrogatelist[i]);
- return true;
+ if (processSurrogate(surrogatelist[i])) return true;
}
}
}