From: Stephan Bosch Date: Sun, 6 Nov 2016 12:17:26 +0000 (+0100) Subject: lib-lda: mail-send: Fixed debug message in mail_send_rejection() to use correct address. X-Git-Tag: 2.3.0.rc1~1665 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f0e0266a333981b0bf17d0692a94341a977caacf;p=thirdparty%2Fdovecot%2Fcore.git lib-lda: mail-send: Fixed debug message in mail_send_rejection() to use correct address. --- 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);