Skip to content

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

fixed bug about auto-depth 0 see http://www.yacy-forum.de/viewtopic.php?p=19751#19751

orbiterddc6394d9b09
diff --git a/source/de/anomic/plasma/plasmaCrawlProfile.java b/source/de/anomic/plasma/plasmaCrawlProfile.java
index 236073cf8..eef9fc50a 100644
--- a/source/de/anomic/plasma/plasmaCrawlProfile.java
+++ b/source/de/anomic/plasma/plasmaCrawlProfile.java
@@ -424,7 +424,7 @@ public class plasmaCrawlProfile {
if (dp == null) {
return 0 < max;
} else {
- return dp.depth < max;
+ return dp.depth <= max;
}
}
}
@@ -437,7 +437,7 @@ public class plasmaCrawlProfile {
if (dp == null) {
return 0 < max;
} else {
- return dp.count < max;
+ return dp.count <= max;
}
}
}