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



commit 9701369983743115d7869a7f3d3ba21e4f836cc3
Author: Jeremy Visser <jeremy visser gmail com>
Date:   Thu Sep 24 07:46:47 2009 -0400

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

 camel/camel-mime-message.c                         |    6 +++---
 camel/providers/groupwise/camel-groupwise-folder.c |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/camel/camel-mime-message.c b/camel/camel-mime-message.c
index b50a97e..578bb6a 100644
--- a/camel/camel-mime-message.c
+++ b/camel/camel-mime-message.c
@@ -77,7 +77,7 @@ typedef enum {
 static const gchar *header_names[] = {
 	/* dont include HEADER_UNKNOWN string */
 	"From", "Reply-To", "Subject", "To", "Resent-To", "Cc", "Resent-Cc",
-	"Bcc", "Resent-Bcc", "Date", "Message-Id", NULL
+	"Bcc", "Resent-Bcc", "Date", "Message-ID", NULL
 };
 
 static GHashTable *header_name_table;
@@ -290,7 +290,7 @@ camel_mime_message_get_date_received (CamelMimeMessage *msg, gint *offset)
 	return msg->date_received;
 }
 
-/* **** Message-Id: */
+/* **** Message-ID: */
 
 /**
  * camel_mime_message_set_message_id:
@@ -316,7 +316,7 @@ camel_mime_message_set_message_id (CamelMimeMessage *mime_message, const gchar *
 
 	mime_message->message_id = id;
 	id = g_strdup_printf ("<%s>", mime_message->message_id);
-	CAMEL_MEDIUM_CLASS (parent_class)->set_header (CAMEL_MEDIUM (mime_message), "Message-Id", id);
+	CAMEL_MEDIUM_CLASS (parent_class)->set_header (CAMEL_MEDIUM (mime_message), "Message-ID", id);
 	g_free (id);
 }
 
diff --git a/camel/providers/groupwise/camel-groupwise-folder.c b/camel/providers/groupwise/camel-groupwise-folder.c
index 6491c92..2e60f71 100644
--- a/camel/providers/groupwise/camel-groupwise-folder.c
+++ b/camel/providers/groupwise/camel-groupwise-folder.c
@@ -2045,7 +2045,7 @@ groupwise_folder_item_to_msg( CamelFolder *folder,
 		/* Set Message Id */
 		message_id = e_gw_item_get_message_id (item);
 		if (message_id)
-			camel_medium_add_header (CAMEL_MEDIUM (msg), "Message-Id", message_id);
+			camel_medium_add_header (CAMEL_MEDIUM (msg), "Message-ID", message_id);
 
 		/* Set parent threads */
 		parent_threads = e_gw_item_get_parent_thread_ids (item);



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