Commit b0b1b2f2 authored by Volodymyr Yurchenko's avatar Volodymyr Yurchenko
Browse files

Add missing namespace prefix (std::stoi)

parent 9c918314
......@@ -109,7 +109,7 @@ void TJAlienConnectionManager::ConnectJBox(TJAlienCredentialsObject c)
{
// Try to load host and port env vars
std::string jboxHost = std::getenv("JALIEN_HOST") ? : "";
int jboxPort = std::getenv("JALIEN_WSPORT") ? stoi(std::getenv("JALIEN_WSPORT")) : 0;
int jboxPort = std::getenv("JALIEN_WSPORT") ? std::stoi(std::getenv("JALIEN_WSPORT")) : 0;
if (jboxHost.length() == 0 || jboxPort == 0) {
// Try to find jclient_token file
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment