[evolution-patches] mail, 274382, stripping multiple cc's, etc



cc, to, etc can all be multiple-instance headers, the mime object was
wrongly stripping out multiple ones.  didn't affect replies to all, but
didn't show them and they get stripped moving messages locally.

? camel/a.diff
? camel/a.out
? camel/c.diff
? camel/camel-mime-tables.c
? camel/eprofile.1325
? camel/eprofile.1907
? camel/eprofile.2321
? camel/eprofile.906
? camel/testurl.c
? camel/tests/message/trace
Index: camel/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/ChangeLog,v
retrieving revision 1.2460
diff -u -p -r1.2460 ChangeLog
--- camel/ChangeLog	29 Jul 2005 01:36:40 -0000	1.2460
+++ camel/ChangeLog	3 Aug 2005 10:54:29 -0000
@@ -1,3 +1,9 @@
+2005-08-03  Not Zed  <NotZed Ximian com>
+
+	* camel-mime-message.c (process_header): return false if we have a
+	to/cc/etc, we can have multiple instances of all of these, and we
+	dont want to strip them.
+
 2005-07-28  Not Zed  <NotZed Ximian com>
 
 	** See bug #311731.
Index: camel/camel-mime-message.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/camel-mime-message.c,v
retrieving revision 1.134
diff -u -p -r1.134 camel-mime-message.c
--- camel/camel-mime-message.c	13 May 2005 19:54:53 -0000	1.134
+++ camel/camel-mime-message.c	3 Aug 2005 10:54:29 -0000
@@ -686,7 +686,7 @@ process_header (CamelMedium *medium, con
 			camel_address_decode (CAMEL_ADDRESS (addr), value);
 		else
 			camel_address_remove (CAMEL_ADDRESS (addr), -1);
-		break;
+		return FALSE;
 	case HEADER_DATE:
 		if (value) {
 			message->date = camel_header_decode_date (value, &message->date_offset);


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