[vlc-commits] dsm: don't log password on error

Thomas Guillem git at videolan.org
Mon Feb 23 17:53:09 CET 2015


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Feb 23 17:50:48 2015 +0100| [f0a8251d139cc6c3a7d25134058c74aea4a599a6] | committer: Jean-Baptiste Kempf

dsm: don't log password on error

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/access/dsm/access.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/modules/access/dsm/access.c b/modules/access/dsm/access.c
index 4de6a5d..79ee799 100644
--- a/modules/access/dsm/access.c
+++ b/modules/access/dsm/access.c
@@ -407,9 +407,8 @@ static int login( access_t *p_access )
         }
 
         /* FIXME, Try to force netbios name as domain then WORKGROUP here */
-        msg_Err( p_access, "Unable to login with username = %s, password = %s, domain = %s",
-                   p_sys->creds.login, p_sys->creds.password,
-                   p_sys->creds.domain );
+        msg_Err( p_access, "Unable to login with username = %s, domain = %s",
+                   p_sys->creds.login, p_sys->creds.domain );
         return VLC_EGENERIC;
     }
     else if( smb_session_is_guest( p_sys->p_session ) == 1 )



More information about the vlc-commits mailing list