Skip to content

Commit

Permalink
*) Bugfix for Server Port configuration. Status-Info was not displaye…
Browse files Browse the repository at this point in the history
…d correctly.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1194 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
theli committed Dec 8, 2005
1 parent 386d9e4 commit 61bded0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions htroot/SettingsAck_p.java
Expand Up @@ -147,10 +147,11 @@ public static serverObjects respond(httpHeader header, serverObjects post, serve

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
Expand All @@ -163,7 +164,7 @@ public static serverObjects respond(httpHeader header, serverObjects post, serve
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;
}
Expand Down

0 comments on commit 61bded0

Please sign in to comment.