[vlc-commits] telnet: clear the default password

Rémi Denis-Courmont git at videolan.org
Sun Mar 25 18:45:25 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar 25 19:45:01 2012 +0300| [2cddef04392b7427f425544f95f45e9a6a400bf9] | committer: Rémi Denis-Courmont

telnet: clear the default password

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

 modules/lua/vlc.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/lua/vlc.c b/modules/lua/vlc.c
index aacbd95..319bbbc 100644
--- a/modules/lua/vlc.c
+++ b/modules/lua/vlc.c
@@ -66,7 +66,6 @@
 #define TELNETPWD_TEXT N_( "Password" )
 #define TELNETPWD_LONGTEXT N_( "A single password restricts access " \
     "to this interface." )
-#define TELNETPWD_DEFAULT "admin"
 #define RCHOST_TEXT N_("TCP command input")
 #define RCHOST_LONGTEXT N_("Accept commands over a socket rather than stdin. " \
             "You can set the address and port the interface will bind to." )
@@ -118,7 +117,7 @@ vlc_module_begin ()
                         TELNETHOST_LONGTEXT, true )
             add_integer( "telnet-port", TELNETPORT_DEFAULT, TELNETPORT_TEXT,
                          TELNETPORT_LONGTEXT, true )
-            add_password( "telnet-password", TELNETPWD_DEFAULT, TELNETPWD_TEXT,
+            add_password( "telnet-password", NULL, TELNETPWD_TEXT,
 
                           TELNETPWD_LONGTEXT, true )
         set_capability( "interface", 0 )



More information about the vlc-commits mailing list