From b2a8c653eefa7a448ef3bce857f84cbb2b028ff3 Mon Sep 17 00:00:00 2001 From: orbiter Date: Sat, 10 Jan 2009 09:21:44 +0000 Subject: [PATCH] small fixes git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5464 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/xml/blacklists.java | 2 +- htroot/xml/webstructure.xml | 2 +- source/de/anomic/plasma/plasmaDHTTransfer.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 dirlist = listManager.getDirListing(listManager.listsPath); int blacklistCount=0; - final String blackListName = post.get("listname", ""); + final String blackListName = (post == null) ? "" : post.get("listname", ""); List 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 @@ - + #{domains}# #{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;