mirror of
https://github.com/amnezia-vpn/openvpn3.git
synced 2026-06-28 13:07:29 +03:00
Fix Windows build after merge of released
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
This commit is contained in:
@@ -363,7 +363,8 @@ private:
|
||||
did_query_remote = false;
|
||||
}
|
||||
|
||||
const ClientAPI::EvalConfig eval = Client::eval_config_static(*config);
|
||||
ClientAPI::OpenVPNClientHelper clihelper;
|
||||
const ClientAPI::EvalConfig eval = clihelper.eval_config(*config);
|
||||
if (eval.error)
|
||||
OPENVPN_THROW_EXCEPTION("eval config error: " << eval.message);
|
||||
|
||||
|
||||
@@ -639,7 +639,7 @@ static void start_thread(Client& client)
|
||||
{
|
||||
// Set Windows title bar
|
||||
const std::string title_text = "F2:Stats F3:Reconnect F4:Stop F5:Pause";
|
||||
Win::Console::Title title(ClientAPI::OpenVPNClient::platform() + " " + title_text);
|
||||
Win::Console::Title title(ClientAPI::OpenVPNClientHelper::platform() + " " + title_text);
|
||||
Win::Console::Input console;
|
||||
|
||||
// start connect thread
|
||||
|
||||
Reference in New Issue
Block a user