Commit 22f452d0 authored by Antoine Cellerier's avatar Antoine Cellerier

Do not print the password in the log. That's dangerous!

parent 28855920
...@@ -451,7 +451,13 @@ connect: ...@@ -451,7 +451,13 @@ connect:
if( psz_login != NULL && psz_password != NULL ) if( psz_login != NULL && psz_password != NULL )
{ {
msg_Dbg( p_access, "retrying with user=%s, pwd=%s", 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_username = psz_login;
p_sys->url.psz_password = psz_password; p_sys->url.psz_password = psz_password;
Disconnect( p_access ); Disconnect( p_access );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment