vlc | branch: master | Rémi Denis-Courmont <[email protected]> | 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 );

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to