[vlc-commits] old http: fix proxy credentials copy-paste error

Rémi Denis-Courmont git at videolan.org
Sun Mar 5 08:53:58 CET 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar  5 09:53:33 2017 +0200| [b2a504b64f6631541aa996c02f2706a5c1910074] | committer: Rémi Denis-Courmont

old http: fix proxy credentials copy-paste error

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b2a504b64f6631541aa996c02f2706a5c1910074
---

 modules/access/http.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/http.c b/modules/access/http.c
index 8e8b985..77de475 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -710,8 +710,8 @@ static int Connect( access_t *p_access )
         char *auth;
 
         auth = vlc_http_auth_FormatAuthorizationHeader( VLC_OBJECT(p_access),
-                            &p_sys->proxy_auth, "GET", p_sys->url.psz_path,
-                            p_sys->url.psz_username, p_sys->url.psz_password );
+                        &p_sys->proxy_auth, "GET", p_sys->url.psz_path,
+                        p_sys->proxy.psz_username, p_sys->proxy.psz_password );
         if( auth != NULL )
              vlc_memstream_printf( &stream, "Proxy-Authorization: %s\r\n",
                                    auth );



More information about the vlc-commits mailing list