From f0e0266a333981b0bf17d0692a94341a977caacf Mon Sep 17 00:00:00 2001 From: Stephan Bosch Date: Sun, 6 Nov 2016 13:17:26 +0100 Subject: [PATCH] lib-lda: mail-send: Fixed debug message in mail_send_rejection() to use correct address. --- src/lib-lda/mail-send.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib-lda/mail-send.c b/src/lib-lda/mail-send.c index 76ffc12e78..b3768b11bf 100644 --- a/src/lib-lda/mail-send.c +++ b/src/lib-lda/mail-send.c @@ -74,8 +74,8 @@ int mail_send_rejection(struct mail_deliver_context *ctx, const char *recipient, } if (mailbox_get_settings(mail->box)->mail_debug) { - i_debug("Sending a rejection to %s: %s", recipient, - str_sanitize(reason, 512)); + i_debug("Sending a rejection to %s: %s", + return_addr, str_sanitize(reason, 512)); } smtp_client = smtp_client_init(ctx->set, NULL); -- 2.47.3