Bugfix: wrong log

This commit is contained in:
Laurent Clouet
2014-12-30 21:14:05 +01:00
parent 0a4c3cd181
commit 793eff86eb

View File

@@ -212,7 +212,7 @@ public class Server extends Thread implements HostnameVerifier, X509TrustManager
NodeList ns = null; NodeList ns = null;
ns = document.getElementsByTagName("config"); ns = document.getElementsByTagName("config");
if (ns.getLength() == 0) { if (ns.getLength() == 0) {
this.log.error("getConfiguration error: failed to parse XML, no node 'config_serveur'"); // 'config_server' ? this.log.error("getConfiguration error: failed to parse XML, no node 'config'");
return Error.Type.WRONG_CONFIGURATION; return Error.Type.WRONG_CONFIGURATION;
} }
config_node = (Element) ns.item(0); config_node = (Element) ns.item(0);