diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2011-10-10 16:28:15 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-10-10 16:28:15 (GMT) |
| commit | 9c9f6b2287b028f7d0367308c7669e0ba8960a36 (patch) | |
| tree | 9a58cea2ef000ad99deaeaddc468eed54e2b855c /src/interface.c | |
| parent | ee47b2dd6817e44a3cd388403a574a4b9bf61482 (diff) | |
| download | powder-9c9f6b2287b028f7d0367308c7669e0ba8960a36.zip powder-9c9f6b2287b028f7d0367308c7669e0ba8960a36.tar.gz | |
Send user authentication for update downloads
Diffstat (limited to 'src/interface.c')
| -rw-r--r-- | src/interface.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interface.c b/src/interface.c index c1b5b4c..d098b3f 100644 --- a/src/interface.c +++ b/src/interface.c @@ -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)) { |
