Permalink
Browse files

fix build error when UPDATESERVER is defined

  • Loading branch information...
jacob1 committed Jan 1, 2018
1 parent 0798814 commit 5012c3cfe65d277a64e7a7e7c19265454dbcb7ce
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/client/Client.cpp
@@ -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);
}

0 comments on commit 5012c3c

Please sign in to comment.