[vlc-devel] commit: ftp: let the user see the password in the conf ( was a bad idea to hide it). ( Rémi Duraffort )

git version control git at videolan.org
Thu Sep 3 11:30:31 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Sep  3 11:23:20 2009 +0200| [6661f221c5c60dcc48170af4148fc229d61bb702] | committer: Rémi Duraffort 

ftp: let the user see the password in the conf (was a bad idea to hide it).

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

 modules/access/ftp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/ftp.c b/modules/access/ftp.c
index 7a463e9..dffea0d 100644
--- a/modules/access/ftp.c
+++ b/modules/access/ftp.c
@@ -79,8 +79,8 @@ vlc_module_begin ()
         change_safe()
     add_string( "ftp-user", "anonymous", NULL, USER_TEXT, USER_LONGTEXT,
                 false )
-    add_password( "ftp-pwd", "anonymous at example.com", NULL, PASS_TEXT,
-                  PASS_LONGTEXT, false )
+    add_string( "ftp-pwd", "anonymous at example.com", NULL, PASS_TEXT,
+                PASS_LONGTEXT, false )
     add_string( "ftp-account", "anonymous", NULL, ACCOUNT_TEXT,
                 ACCOUNT_LONGTEXT, false )
     add_shortcut( "ftp" )




More information about the vlc-devel mailing list