From: Antoine Cellerier Date: Mon, 6 Apr 2009 20:11:07 +0000 (+0200) Subject: Do not print the password in the log. That's dangerous! X-Git-Tag: 1.0.0-pre2~194 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=22f452d08337841a52b352876be11d9bfabb65d6;p=vlc Do not print the password in the log. That's dangerous! --- diff --git a/modules/access/http.c b/modules/access/http.c index 4b24ad3dcc..0304f2d503 100644 --- a/modules/access/http.c +++ b/modules/access/http.c @@ -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 );