Mercurial > dovecot > core-2.2
changeset 12682:8e84c40b7a67
auth: Minor code cleanup, use PASSWORD_HIDDEN_STR macro.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 04 Jan 2011 13:22:20 +0200 |
parents | 6e95552439e1 |
children | fd9c01323475 |
files | src/auth/passdb-cache.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/passdb-cache.c Tue Jan 04 13:17:57 2011 +0200 +++ b/src/auth/passdb-cache.c Tue Jan 04 13:22:20 2011 +0200 @@ -18,7 +18,7 @@ *value != '\0' && *value != '\t') { /* hide the password */ p = strchr(value, '\t'); - value = t_strconcat("<hidden>", p, NULL); + value = t_strconcat(PASSWORD_HIDDEN_STR, p, NULL); } auth_request_log_debug(request, "cache", "hit: %s", value); }