aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog2
-rw-r--r--camel/providers/imap/camel-imap-folder.c7
2 files changed, 1 insertions, 8 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 8a4d7494e1..e9a502ec48 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -2,8 +2,6 @@
* providers/imap/camel-imap-folder.c (imap_get_message): Previous
fix reverted.
- (get_content): Handle the case where a multipart's parent is a
- message/rfc822 part. Fixes bug #24136.
2002-05-13 Jeffrey Stedfast <fejj@ximian.com>
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index 627e31bf14..67db4b8ce7 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -1502,16 +1502,11 @@ get_content (CamelImapFolder *imap_folder, const char *uid,
camel_multipart_set_boundary (body_mp, NULL);
speclen = strlen (part_spec);
- child_spec = g_malloc (speclen + 18);
+ child_spec = g_malloc (speclen + 15);
memcpy (child_spec, part_spec, speclen);
if (speclen > 0)
child_spec[speclen++] = '.';
- if (ci->parent && header_content_type_is (ci->parent->type, "message", "rfc822")) {
- child_spec[speclen++] = '1';
- child_spec[speclen++] = '.';
- }
-
ci = ci->childs;
num = 1;
while (ci) {