mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-03-20 06:09:51 +01:00
fix build error when UPDATESERVER is defined
This commit is contained in:
parent
07988147b9
commit
5012c3cfe6
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user