]> git.sesse.net Git - vlc/commitdiff
Do not print the password in the log. That's dangerous!
authorAntoine Cellerier <dionoea@videolan.org>
Mon, 6 Apr 2009 20:11:07 +0000 (22:11 +0200)
committerAntoine Cellerier <dionoea@videolan.org>
Mon, 6 Apr 2009 20:14:47 +0000 (22:14 +0200)
modules/access/http.c

index 4b24ad3dcc9759c5e6f949443e1fbc5ca1d2050e..0304f2d503aced9d1e250fe9befeb0291f24ec77 100644 (file)
@@ -451,7 +451,13 @@ connect:
         if( psz_login != NULL && psz_password != NULL )
         {
             msg_Dbg( p_access, "retrying with user=%s, pwd=%s",
-                        psz_login, psz_password );
+                     psz_login,
+#if 1
+                     "yeah right, like we're going to print a password."
+#else
+                     psz_password
+#endif
+                );
             p_sys->url.psz_username = psz_login;
             p_sys->url.psz_password = psz_password;
             Disconnect( p_access );