diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-05-15 04:40:32 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-05-15 04:40:32 +0800 |
commit | b1d181a33be9acc6f33acf5e59abd044527d25c8 (patch) | |
tree | 8eade654f44c18ace67e12cd3ec0366debdd13a2 /camel | |
parent | c517f52cd777222c90e0a10d09c7db1188a04ad3 (diff) | |
download | gsoc2013-evolution-b1d181a33be9acc6f33acf5e59abd044527d25c8.tar.gz gsoc2013-evolution-b1d181a33be9acc6f33acf5e59abd044527d25c8.tar.zst gsoc2013-evolution-b1d181a33be9acc6f33acf5e59abd044527d25c8.zip |
Previous fix reverted.
2002-05-13 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-folder.c (imap_get_message): Previous
fix reverted.
svn path=/trunk/; revision=16790
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 2 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-folder.c | 7 |
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) { |