summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-09-24 14:10:21 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-09-24 14:10:21 (GMT)
commit59a134d5f13cca97376de3711f49f6b095d22f6a (patch)
tree1260736bb249eb40c2f427607854bdd07b4e0e1f /src
parent789049b269429107df2f1b73d3e968fea1ab4243 (diff)
downloadpowder-59a134d5f13cca97376de3711f49f6b095d22f6a.zip
powder-59a134d5f13cca97376de3711f49f6b095d22f6a.tar.gz
Send session/auth info with update checks
Diffstat (limited to 'src')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index d0fddcf..ebdec31 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);
}