Skip to content

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

small fixes

orbiterb2a8c653eefa
diff --git a/htroot/xml/blacklists.java b/htroot/xml/blacklists.java
index 5ad1c9133..d0d924266 100644
--- a/htroot/xml/blacklists.java
+++ b/htroot/xml/blacklists.java
@@ -36,7 +36,7 @@ public class blacklists {
final List<String> dirlist = listManager.getDirListing(listManager.listsPath);
int blacklistCount=0;
- final String blackListName = post.get("listname", "");
+ final String blackListName = (post == null) ? "" : post.get("listname", "");
List<String> list;
int count;
diff --git a/htroot/xml/webstructure.xml b/htroot/xml/webstructure.xml
index 79acdc859..05f1237a3 100644
--- a/htroot/xml/webstructure.xml
+++ b/htroot/xml/webstructure.xml
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<webstructure>
-<domains reference="forward" count="#[domains]#" maxref="#[maxref]#">
+<domains reference="reverse" count="#[domains]#" maxref="#[maxref]#">
#{domains}#
<domain host="#[domain]#" id="#[hash]#" date="#[date]#">
#{citations}#
diff --git a/source/de/anomic/plasma/plasmaDHTTransfer.java b/source/de/anomic/plasma/plasmaDHTTransfer.java
index 05745251e..ce85cfd48 100644
--- a/source/de/anomic/plasma/plasmaDHTTransfer.java
+++ b/source/de/anomic/plasma/plasmaDHTTransfer.java
@@ -38,7 +38,7 @@ public class plasmaDHTTransfer extends Thread {
// connection properties
private boolean gzipBody4Transfer = false;
- private int timeout4Transfer = 60000;
+ private int timeout4Transfer;
// status fields
private boolean stopped = false;