[evolution-mapi] Bug #602896 - CC field is shown twice in message
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi] Bug #602896 - CC field is shown twice in message
- Date: Thu, 18 Feb 2010 18:48:11 +0000 (UTC)
commit 7feb7f9ed93b9292a48118ecc8936344cc9afdfa
Author: Milan Crha <mcrha redhat com>
Date: Thu Feb 18 19:47:39 2010 +0100
Bug #602896 - CC field is shown twice in message
src/camel/camel-mapi-folder.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/camel/camel-mapi-folder.c b/src/camel/camel-mapi-folder.c
index 5a0c757..bc173c6 100644
--- a/src/camel/camel-mapi-folder.c
+++ b/src/camel/camel-mapi-folder.c
@@ -1447,15 +1447,15 @@ mapi_mime_set_recipient_list (CamelMimeMessage *msg, MapiItem *item)
g_free (display_name);
}
-
+
/*Add to message*/
/*Note : To field is added from PR_TRANSPORT_MESSAGE_HEADERS
But, in sent_items folder we don't get TRANSPORT_MESSAGE_HEADERS */
- if (!item->header.transport_headers)
+ if (!item->header.transport_headers) {
camel_mime_message_set_recipients(msg, "To", to_addr);
-
- camel_mime_message_set_recipients(msg, "Cc", cc_addr);
- camel_mime_message_set_recipients(msg, "Bcc", bcc_addr);
+ camel_mime_message_set_recipients(msg, "Cc", cc_addr);
+ camel_mime_message_set_recipients(msg, "Bcc", bcc_addr);
+ }
/*TODO : Unref *_addr ? */
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]