Commit fdd5a55a authored by Rafaël Carré's avatar Rafaël Carré

Uses add_password for passwords

parent d385374e
...@@ -88,7 +88,7 @@ vlc_module_begin(); ...@@ -88,7 +88,7 @@ vlc_module_begin();
TELNETHOST_LONGTEXT, VLC_TRUE ); TELNETHOST_LONGTEXT, VLC_TRUE );
add_integer( "telnet-port", TELNETPORT_DEFAULT, NULL, TELNETPORT_TEXT, add_integer( "telnet-port", TELNETPORT_DEFAULT, NULL, TELNETPORT_TEXT,
TELNETPORT_LONGTEXT, VLC_TRUE ); TELNETPORT_LONGTEXT, VLC_TRUE );
add_string( "telnet-password", TELNETPWD_DEFAULT, NULL, TELNETPWD_TEXT, add_password( "telnet-password", TELNETPWD_DEFAULT, NULL, TELNETPWD_TEXT,
TELNETPWD_LONGTEXT, VLC_TRUE ); TELNETPWD_LONGTEXT, VLC_TRUE );
set_description( _("VLM remote control interface") ); set_description( _("VLM remote control interface") );
add_category_hint( "VLM", NULL, VLC_FALSE ); add_category_hint( "VLM", NULL, VLC_FALSE );
......
...@@ -70,7 +70,7 @@ vlc_module_begin(); ...@@ -70,7 +70,7 @@ vlc_module_begin();
add_string( "growl-server", SERVER_DEFAULT, NULL, add_string( "growl-server", SERVER_DEFAULT, NULL,
SERVER_TEXT, SERVER_LONGTEXT, VLC_FALSE ); SERVER_TEXT, SERVER_LONGTEXT, VLC_FALSE );
add_string( "growl-password", PASS_DEFAULT, NULL, add_password( "growl-password", PASS_DEFAULT, NULL,
PASS_TEXT, PASS_LONGTEXT, VLC_FALSE ); PASS_TEXT, PASS_LONGTEXT, VLC_FALSE );
add_integer( "growl-port", 9887, NULL, add_integer( "growl-port", 9887, NULL,
PORT_TEXT, PORT_LONGTEXT, VLC_TRUE ); PORT_TEXT, PORT_LONGTEXT, VLC_TRUE );
......
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