mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Refactoring - typo fix (#689)
* make proto and json server permanent. An unconfigured p/j server means server with default values * fix typo Former-commit-id: 81ee35ccf348f1fe4dc554f2df03878d9c870f6f
This commit is contained in:
parent
986409fbda
commit
5b47855bc3
@ -207,7 +207,7 @@ void startNetworkServices(const Json::Value &config, Hyperion &hyperion, JsonSer
|
|||||||
{
|
{
|
||||||
const Json::Value & protoServerConfig = config["protoServer"];
|
const Json::Value & protoServerConfig = config["protoServer"];
|
||||||
//protoEnable = protoServerConfig.get("enable", true).asBool();
|
//protoEnable = protoServerConfig.get("enable", true).asBool();
|
||||||
protonPort = protoServerConfig.get("port", 19445).asUInt();
|
protoPort = protoServerConfig.get("port", 19445).asUInt();
|
||||||
}
|
}
|
||||||
|
|
||||||
protoServer = new ProtoServer(&hyperion, protoPort );
|
protoServer = new ProtoServer(&hyperion, protoPort );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user