]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Minor code cleanup, use PASSWORD_HIDDEN_STR macro.
authorTimo Sirainen <tss@iki.fi>
Tue, 4 Jan 2011 11:22:20 +0000 (13:22 +0200)
committerTimo Sirainen <tss@iki.fi>
Tue, 4 Jan 2011 11:22:20 +0000 (13:22 +0200)
src/auth/passdb-cache.c

index 3aa2f428d9ea1e98cb22d30c4bf12d847ca7db5f..b5e8fe8cfeaae77e38244f2bb8c3c8e5b7dcb8e5 100644 (file)
@@ -18,7 +18,7 @@ passdb_cache_log_hit(struct auth_request *request, const char *value)
            *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);
 }