Send user authentication for update downloads

This commit is contained in:
Simon Robertshaw 2011-10-10 17:28:15 +01:00
parent ee47b2dd68
commit 9c9f6b2287

View File

@ -2649,6 +2649,10 @@ char *download_ui(pixel *vid_buf, char *uri, int *len)
int x0=(XRES-240)/2,y0=(YRES-MENUSIZE)/2;
int done, total, i, ret, zlen, ulen;
char str[16], *tmp, *res;
if (svf_login) {
http_auth_headers(http, svf_user_id, NULL, svf_session_id);
}
while (!http_async_req_status(http))
{