From 61bded057a92500d582b9d314e89fbde45c72d58 Mon Sep 17 00:00:00 2001 From: theli Date: Thu, 8 Dec 2005 22:22:41 +0000 Subject: [PATCH] *) Bugfix for Server Port configuration. Status-Info was not displayed correctly. git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1194 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/SettingsAck_p.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/htroot/SettingsAck_p.java b/htroot/SettingsAck_p.java index 6273ba361..ab8213d0b 100644 --- a/htroot/SettingsAck_p.java +++ b/htroot/SettingsAck_p.java @@ -147,10 +147,11 @@ public class SettingsAck_p { theServerCore.reconnect(); } catch (SocketException e) { - prop.put("info_restart",0); + prop.put("info",26); + return prop; } } else { - prop.put("info_restart",26); + prop.put("info_restart",0); } // read and process data @@ -163,7 +164,7 @@ public class SettingsAck_p { use_proxyAccounts = "false"; } // do checks - if ((filter == null) || (use_proxyAccounts == null)) { + if ((filter == null) || (use_proxyAccounts == null)) { prop.put("info", 1);//error with submitted information return prop; }