Send session/auth info with update checks

This commit is contained in:
Simon Robertshaw 2011-09-24 15:10:21 +01:00
parent 789049b269
commit 59a134d5f1

View File

@ -1755,6 +1755,7 @@ int main(int argc, char *argv[])
http_ver_check = http_async_req_start(NULL, "http://" SERVER "/Update.api?Action=CheckVersion", NULL, 0, 0);
if (svf_login) {
http_auth_headers(http_ver_check, svf_user_id, NULL, svf_session_id); //Add authentication so beta checking can be done from user basis
http_session_check = http_async_req_start(NULL, "http://" SERVER "/Login.api?Action=CheckSession", NULL, 0, 0);
http_auth_headers(http_session_check, svf_user_id, NULL, svf_session_id);
}