[vlc-commits] FTP: use psz_url instead of psz_location

Jean-Baptiste Kempf git at videolan.org
Thu Jul 28 12:04:39 CEST 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jul 28 12:03:18 2016 +0200| [5b35e3c8573a7a1371f3d2d3fca01e57fa9b3339] | committer: Jean-Baptiste Kempf

FTP: use psz_url instead of psz_location

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

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

diff --git a/modules/access/ftp.c b/modules/access/ftp.c
index d57cac8..36e4998 100644
--- a/modules/access/ftp.c
+++ b/modules/access/ftp.c
@@ -656,7 +656,7 @@ static int InOpen( vlc_object_t *p_this )
     if( readTLSMode( p_this, p_sys, p_access->psz_name ) )
         goto exit_error;
 
-    if( parseURL( &p_sys->url, p_access->psz_location, p_sys->tlsmode ) )
+    if( parseURL( &p_sys->url, p_access->psz_url, p_sys->tlsmode ) )
         goto exit_error;
 
     if( Connect( p_this, p_sys ) )



More information about the vlc-commits mailing list