]> granicus.if.org Git - neomutt/commitdiff
Fix SMTP RET parameter which was substituted by rc (#996)
authorPietro Cerutti <gahr@gahr.ch>
Wed, 13 Dec 2017 14:55:02 +0000 (14:55 +0000)
committerGitHub <noreply@github.com>
Wed, 13 Dec 2017 14:55:02 +0000 (14:55 +0000)
Fixes #995

smtp.c

diff --git a/smtp.c b/smtp.c
index f04e8c528be933932d8a9c3dbecc0f85ccc3597e..3e722d300c6d8a9dbb1011053606cb02dcef8417 100644 (file)
--- a/smtp.c
+++ b/smtp.c
@@ -680,7 +680,7 @@ int mutt_smtp_send(const struct Address *from, const struct Address *to,
       rc += 14;
     }
     if (DsnReturn && mutt_bit_isset(Capabilities, DSN))
-      rc += snprintf(buf + rc, sizeof(buf) - rc, " rc=%s", DsnReturn);
+      rc += snprintf(buf + rc, sizeof(buf) - rc, " RET=%s", DsnReturn);
     if (mutt_bit_isset(Capabilities, SMTPUTF8) &&
         (address_uses_unicode(envfrom) || addresses_use_unicode(to) ||
          addresses_use_unicode(cc) || addresses_use_unicode(bcc)))