Commit e4a86737 authored by Rémi Duraffort's avatar Rémi Duraffort

Use add_password instead of add_string when applicable.

parent c75c32cb
......@@ -250,7 +250,7 @@ vlc_module_begin ()
true )
add_string( "dvb-http-user", NULL, NULL, USER_TEXT, USER_LONGTEXT,
true )
add_string( "dvb-http-password", NULL, NULL, PASSWORD_TEXT,
add_password( "dvb-http-password", NULL, NULL, PASSWORD_TEXT,
PASSWORD_LONGTEXT, true )
add_string( "dvb-http-acl", NULL, NULL, ACL_TEXT, ACL_LONGTEXT,
true )
......
......@@ -79,7 +79,7 @@ vlc_module_begin ()
change_safe()
add_string( "ftp-user", "anonymous", NULL, USER_TEXT, USER_LONGTEXT,
false )
add_string( "ftp-pwd", "anonymous@example.com", NULL, PASS_TEXT,
add_password( "ftp-pwd", "anonymous@example.com", NULL, PASS_TEXT,
PASS_LONGTEXT, false )
add_string( "ftp-account", "anonymous", NULL, ACCOUNT_TEXT,
ACCOUNT_LONGTEXT, false )
......
......@@ -86,7 +86,7 @@ vlc_module_begin ()
change_safe()
add_string( "smb-user", NULL, NULL, USER_TEXT, USER_LONGTEXT,
false )
add_string( "smb-pwd", NULL, NULL, PASS_TEXT,
add_password( "smb-pwd", NULL, NULL, PASS_TEXT,
PASS_LONGTEXT, false )
add_string( "smb-domain", NULL, NULL, DOMAIN_TEXT,
DOMAIN_LONGTEXT, false )
......
......@@ -102,7 +102,7 @@ vlc_module_begin ()
set_subcategory( SUBCAT_SOUT_ACO )
add_string( SOUT_CFG_PREFIX "user", "", NULL,
USER_TEXT, USER_LONGTEXT, true )
add_string( SOUT_CFG_PREFIX "pwd", "", NULL,
add_password( SOUT_CFG_PREFIX "pwd", "", NULL,
PASS_TEXT, PASS_LONGTEXT, true )
add_string( SOUT_CFG_PREFIX "mime", "", NULL,
MIME_TEXT, MIME_LONGTEXT, true )
......
......@@ -134,7 +134,7 @@ vlc_module_begin ()
KASENNA_LONGTEXT, true )
add_string( "rtsp-user", NULL, NULL, USER_TEXT,
USER_LONGTEXT, true )
add_string( "rtsp-pwd", NULL, NULL, PASS_TEXT,
add_password( "rtsp-pwd", NULL, NULL, PASS_TEXT,
PASS_LONGTEXT, true )
vlc_module_end ()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment