From 22f452d08337841a52b352876be11d9bfabb65d6 Mon Sep 17 00:00:00 2001 From: Antoine Cellerier Date: Mon, 6 Apr 2009 22:11:07 +0200 Subject: [PATCH] Do not print the password in the log. That's dangerous! --- modules/access/http.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 ); -- 2.39.2