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:
Simon Robertshaw 2012-06-08 01:01:44 +01:00
parent ca4400a7ad
commit d1bd90e4c9

View File

@ -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))
{