[vlc-commits] old http: avoid shadowing

Rémi Denis-Courmont git at videolan.org
Sun Jul 23 16:52:46 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 23 16:29:05 2017 +0300| [5bd22bc827e604978245ce277c1588897c6af868] | committer: Rémi Denis-Courmont

old http: avoid shadowing

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

 modules/access/http.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/http.c b/modules/access/http.c
index 8bd675dd7f..fbe2b97300 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -786,7 +786,7 @@ static int Connect( stream_t *p_access )
     {
         char *p, *p_trailing;
 
-        char *psz = net_Gets( p_access, p_sys->fd );
+        psz = net_Gets( p_access, p_sys->fd );
         if( psz == NULL )
         {
             msg_Err( p_access, "failed to read answer" );



More information about the vlc-commits mailing list