Skip to content

Commit

Permalink
fix build error when UPDATESERVER is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Jan 1, 2018
1 parent 0798814 commit 5012c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/Client.cpp
Expand Up @@ -165,7 +165,7 @@ void Client::Initialise(std::string proxyString)
// use an alternate update server
alternateVersionCheckRequest = http_async_req_start(NULL, "http://" UPDATESERVER "/Startup.json", NULL, 0, 0);
usingAltUpdateServer = true;
if (authUser.ID)
if (authUser.UserID)
{
http_auth_headers(alternateVersionCheckRequest, authUser.Username.c_str(), NULL, NULL);
}
Expand Down

0 comments on commit 5012c3c

Please sign in to comment.