[evolution-mapi] Bug 596157 - Use "Message-ID" instead of "Message-Id"



commit fc050bf3e7cc5f3b9ae69f0c4f6b73656665dba7
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Sep 24 07:51:02 2009 -0400

    Bug 596157 - Use "Message-ID" instead of "Message-Id"

 src/camel/camel-mapi-folder.c |    2 +-
 src/camel/camel-mapi-utils.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/camel/camel-mapi-folder.c b/src/camel/camel-mapi-folder.c
index 2cfbc44..2ad8c73 100644
--- a/src/camel/camel-mapi-folder.c
+++ b/src/camel/camel-mapi-folder.c
@@ -1567,7 +1567,7 @@ mapi_folder_item_to_msg( CamelFolder *folder,
 
 	/* Threading */
 	if (item->header.message_id)
-		camel_medium_add_header (CAMEL_MEDIUM (msg), "Message-Id", item->header.message_id);
+		camel_medium_add_header (CAMEL_MEDIUM (msg), "Message-ID", item->header.message_id);
 
 	if (item->header.references)
 		camel_medium_add_header (CAMEL_MEDIUM (msg), "References", item->header.references);
diff --git a/src/camel/camel-mapi-utils.c b/src/camel/camel-mapi-utils.c
index 6f4eb5f..fac1bd0 100644
--- a/src/camel/camel-mapi-utils.c
+++ b/src/camel/camel-mapi-utils.c
@@ -324,7 +324,7 @@ camel_mapi_utils_mime_to_item (CamelMimeMessage *message, CamelAddress *from, Ca
 	/*Add message threading properties */
 	item->header.references = g_strdup (camel_medium_get_header ((CamelMedium *) message, "References"));
 	item->header.in_reply_to = g_strdup (camel_medium_get_header ((CamelMedium *) message, "In-Reply-To"));
-	item->header.message_id = g_strdup (camel_medium_get_header ((CamelMedium *) message, "Message-Id"));
+	item->header.message_id = g_strdup (camel_medium_get_header ((CamelMedium *) message, "Message-ID"));
 
 	/* contents body */
 	multipart = (CamelMultipart *)camel_medium_get_content_object (CAMEL_MEDIUM (message));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]