From: Timo Sirainen Date: Wed, 18 Nov 2009 20:03:01 +0000 (-0500) Subject: lib-auth: Fixed "auth input" debug messages. X-Git-Tag: 2.0.beta1~120 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2ba63f475f74b2aa87f9fd9e28a6c5738deb0878;p=thirdparty%2Fdovecot%2Fcore.git lib-auth: Fixed "auth input" debug messages. --HG-- branch : HEAD --- diff --git a/src/lib-auth/auth-master.c b/src/lib-auth/auth-master.c index 3c479fedd8..2b65ff5a01 100644 --- a/src/lib-auth/auth-master.c +++ b/src/lib-auth/auth-master.c @@ -165,12 +165,10 @@ static bool auth_lookup_reply_callback(const char *cmd, const char *const *args, 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; }