[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Mailutils branch, master, updated. release-2.2-577-gda65d50
From: |
Sergey Poznyakoff |
Subject: |
[SCM] GNU Mailutils branch, master, updated. release-2.2-577-gda65d50 |
Date: |
Wed, 14 Mar 2012 13:43:40 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mailutils".
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=da65d5004f890d58e054a1c878fb3af634f47262
The branch, master has been updated
via da65d5004f890d58e054a1c878fb3af634f47262 (commit)
from 76c8d7771f17841fe5ef476db786988233f04851 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit da65d5004f890d58e054a1c878fb3af634f47262
Author: Sergey Poznyakoff <address@hidden>
Date: Wed Mar 14 15:36:09 2012 +0200
Minor fix in smtp transport.
* libproto/mailer/smtp.c (smtp_send_message): Filter out Fcc and Bcc
headers.
-----------------------------------------------------------------------
Summary of changes:
libproto/mailer/smtp.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/libproto/mailer/smtp.c b/libproto/mailer/smtp.c
index e14894a..5f9a991 100644
--- a/libproto/mailer/smtp.c
+++ b/libproto/mailer/smtp.c
@@ -502,7 +502,8 @@ smtp_send_message (mu_mailer_t mailer, mu_message_t msg,
return status;
}
- if (mu_header_sget_value (header, MU_HEADER_BCC, NULL))
+ if (mu_header_sget_value (header, MU_HEADER_BCC, NULL) == 0||
+ mu_header_sget_value (header, MU_HEADER_FCC, NULL) == 0)
{
mu_iterator_t itr;
mu_body_t body;
@@ -523,7 +524,8 @@ smtp_send_message (mu_mailer_t mailer, mu_message_t msg,
void *value;
mu_iterator_current_kv (itr, (void*) &name, &value);
- if (mu_c_strcasecmp (name, MU_HEADER_BCC) == 0)
+ if (mu_c_strcasecmp (name, MU_HEADER_BCC) == 0 ||
+ mu_c_strcasecmp (name, MU_HEADER_FCC) == 0)
continue;
mu_stream_printf (ostr, "%s: %s\n", name, (char*)value);
}
hooks/post-receive
--
GNU Mailutils
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Mailutils branch, master, updated. release-2.2-577-gda65d50,
Sergey Poznyakoff <=