mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 03:09:53 +02:00
Fix session check on startup - Session check was looking at the response code from the version check, should the session check request complete before the version check, the response code would not be valid and the response would be discarded.
This commit is contained in:
@@ -1154,7 +1154,7 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
char saveURIOpenString[512];
|
||||
check_data = http_async_req_stop(http_session_check, &http_s_ret, NULL);
|
||||
if (http_ret==200 && check_data)
|
||||
if (http_s_ret==200 && check_data)
|
||||
{
|
||||
if (!strncmp(check_data, "EXPIRED", 7))
|
||||
{
|
||||
|
Reference in New Issue
Block a user