*) 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
pull/1/head
theli 20 years ago
parent 386d9e45d8
commit 61bded057a

@ -147,10 +147,11 @@ public class SettingsAck_p {
theServerCore.reconnect(); theServerCore.reconnect();
} catch (SocketException e) { } catch (SocketException e) {
prop.put("info_restart",0); prop.put("info",26);
return prop;
} }
} else { } else {
prop.put("info_restart",26); prop.put("info_restart",0);
} }
// read and process data // read and process data
@ -163,7 +164,7 @@ public class SettingsAck_p {
use_proxyAccounts = "false"; use_proxyAccounts = "false";
} }
// do checks // do checks
if ((filter == null) || (use_proxyAccounts == null)) { if ((filter == null) || (use_proxyAccounts == null)) {
prop.put("info", 1);//error with submitted information prop.put("info", 1);//error with submitted information
return prop; return prop;
} }

Loading…
Cancel
Save