[vlc-commits] [Git][videolan/vlc][3.0.x] 2 commits: core: --socks-pwd is a password option

Jean-Baptiste Kempf gitlab at videolan.org
Tue Jun 15 21:09:07 UTC 2021



Jean-Baptiste Kempf pushed to branch 3.0.x at VideoLAN / VLC


Commits:
5326fdbd by Lyndon Brown at 2021-06-15T20:52:21+00:00
core: --socks-pwd is a password option

(cherry picked from commit 8aeef92e21ab32170a0aed01e7215c5c13c1a12e)

- - - - -
c3787eae by Lyndon Brown at 2021-06-15T20:52:21+00:00
ftp: set password option to password type

(cherry picked from commit 546d0210895140a83d8ffe35ac257560a05fe3f8)

- - - - -


2 changed files:

- modules/access/ftp.c
- src/libvlc-module.c


Changes:

=====================================
modules/access/ftp.c
=====================================
@@ -86,7 +86,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, false )
     add_string( "ftp-account", "anonymous", ACCOUNT_TEXT,
                 ACCOUNT_LONGTEXT, false )
     add_shortcut( "ftp", "ftps", "ftpes" )


=====================================
src/libvlc-module.c
=====================================
@@ -1829,7 +1829,7 @@ vlc_module_begin ()
                  SOCKS_SERVER_TEXT, SOCKS_SERVER_LONGTEXT, true )
     add_string( "socks-user", NULL,
                  SOCKS_USER_TEXT, SOCKS_USER_LONGTEXT, true )
-    add_string( "socks-pwd", NULL,
+    add_password( "socks-pwd", NULL,
                  SOCKS_PASS_TEXT, SOCKS_PASS_LONGTEXT, true )
 
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/d9de9c3e49d3f252943b547de9f86036f2d97b0a...c3787eaecfef6f36a9d0ae945387287bea8849a7

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/d9de9c3e49d3f252943b547de9f86036f2d97b0a...c3787eaecfef6f36a9d0ae945387287bea8849a7
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list