|
|
@ -161,8 +161,10 @@ CLoginStateMachine LoginSM;
|
|
|
|
|
|
|
|
|
|
|
|
bool CStartupHttpClient::connectToLogin()
|
|
|
|
bool CStartupHttpClient::connectToLogin()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return connect(ClientCfg.ConfigFile.getVar("StartupHost").asString(0))
|
|
|
|
bool checkConnect = connect(ClientCfg.ConfigFile.getVar("StartupHost").asString(0));
|
|
|
|
&& verifyServer(ClientCfg.ConfigFile.getVar("StartupVerify").asBool(0));
|
|
|
|
|
|
|
|
|
|
|
|
if (ClientCfg.ConfigFile.exists("StartupVerify"))
|
|
|
|
|
|
|
|
checkConnect = checkConnect && verifyServer(ClientCfg.ConfigFile.getVar("StartupVerify").asBool(0));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
CStartupHttpClient HttpClient;
|
|
|
|
CStartupHttpClient HttpClient;
|
|
|
|