From 2ba63f475f74b2aa87f9fd9e28a6c5738deb0878 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 18 Nov 2009 15:03:01 -0500 Subject: [PATCH] lib-auth: Fixed "auth input" debug messages. --HG-- branch : HEAD --- src/lib-auth/auth-master.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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; } -- 2.47.3