From b1d181a33be9acc6f33acf5e59abd044527d25c8 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 14 May 2002 20:40:32 +0000 Subject: Previous fix reverted. 2002-05-13 Jeffrey Stedfast * providers/imap/camel-imap-folder.c (imap_get_message): Previous fix reverted. svn path=/trunk/; revision=16790 --- camel/ChangeLog | 2 -- camel/providers/imap/camel-imap-folder.c | 7 +------ 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'camel') 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 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) { -- cgit v1.2.3