[vlc-commits] ftp: set password option to password type

Lyndon Brown git at videolan.org
Thu Sep 24 20:39:50 CEST 2020


vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | Sun May 12 23:15:23 2019 +0100| [546d0210895140a83d8ffe35ac257560a05fe3f8] | committer: Rémi Denis-Courmont

ftp: set password option to password type

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

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

 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 0118ec7d9e..553e5b5ddb 100644
--- a/modules/access/ftp.c
+++ b/modules/access/ftp.c
@@ -85,7 +85,7 @@ vlc_module_begin ()
     set_category( CAT_INPUT )
     set_subcategory( SUBCAT_INPUT_ACCESS )
     add_string( "ftp-user", NULL, USER_TEXT, USER_LONGTEXT, false )
-    add_string( "ftp-pwd", NULL, PASS_TEXT, PASS_LONGTEXT, false )
+    add_password( "ftp-pwd", NULL, PASS_TEXT, PASS_LONGTEXT )
     add_string( "ftp-account", "anonymous", ACCOUNT_TEXT,
                 ACCOUNT_LONGTEXT, false )
     add_shortcut( "ftp", "ftps", "ftpes" )



More information about the vlc-commits mailing list