From 9c9f6b2287b028f7d0367308c7669e0ba8960a36 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Mon, 10 Oct 2011 17:28:15 +0100 Subject: [PATCH] Send user authentication for update downloads --- src/interface.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/interface.c b/src/interface.c index c1b5b4c99..d098b3f44 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)) {