dovecot-2.0-sslstream: lib-auth: Fixed "auth input" debug messages.
dovecot at dovecot.org
dovecot at dovecot.org
Sat Feb 13 02:56:33 EET 2010
details: http://hg.dovecot.org/dovecot-2.0-sslstream/rev/27c2692dbe42
changeset: 10360:27c2692dbe42
user: Timo Sirainen <tss at iki.fi>
date: Wed Nov 18 15:03:01 2009 -0500
description:
lib-auth: Fixed "auth input" debug messages.
diffstat:
1 file changed, 3 insertions(+), 5 deletions(-)
src/lib-auth/auth-master.c | 8 +++-----
diffs (19 lines):
diff -r 0729e84246e9 -r 27c2692dbe42 src/lib-auth/auth-master.c
--- a/src/lib-auth/auth-master.c Tue Nov 17 21:04:46 2009 -0500
+++ b/src/lib-auth/auth-master.c Wed Nov 18 15:03:01 2009 -0500
@@ -165,12 +165,10 @@ static bool auth_lookup_reply_callback(c
if (ctx->return_value > 0) {
len = str_array_length(args);
ctx->fields = p_new(ctx->pool, const char *, len + 1);
- for (i = 0; i < len; i++) {
- if (ctx->conn->debug)
- i_debug("auth input: %s", *args);
-
+ for (i = 0; i < len; i++)
ctx->fields[i] = p_strdup(ctx->pool, args[i]);
- }
+ if (ctx->conn->debug)
+ i_debug("auth input: %s", t_strarray_join(args, " "));
}
return TRUE;
}
More information about the dovecot-cvs
mailing list