dovecot-2.0: auth: Minor code cleanup, use PASSWORD_HIDDEN_STR m...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Jan 4 13:33:54 EET 2011
details: http://hg.dovecot.org/dovecot-2.0/rev/8e84c40b7a67
changeset: 12547:8e84c40b7a67
user: Timo Sirainen <tss at iki.fi>
date: Tue Jan 04 13:22:20 2011 +0200
description:
auth: Minor code cleanup, use PASSWORD_HIDDEN_STR macro.
diffstat:
src/auth/passdb-cache.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 6e95552439e1 -r 8e84c40b7a67 src/auth/passdb-cache.c
--- 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);
}
More information about the dovecot-cvs
mailing list