aboutsummaryrefslogtreecommitdiffstats
path: root/em-format
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-10-24 02:28:44 +0800
committerMilan Crha <mcrha@redhat.com>2009-10-24 02:28:44 +0800
commit0c1fa4577108c2d15a4f3d96611a34e7d7d152ca (patch)
tree12b9d39f1b4f68491d3391db0b315b449981dd6c /em-format
parentb2eca3f495fd0b991c164833e3a1d876c3c5dc37 (diff)
downloadgsoc2013-evolution-0c1fa4577108c2d15a4f3d96611a34e7d7d152ca.tar
gsoc2013-evolution-0c1fa4577108c2d15a4f3d96611a34e7d7d152ca.tar.gz
gsoc2013-evolution-0c1fa4577108c2d15a4f3d96611a34e7d7d152ca.tar.bz2
gsoc2013-evolution-0c1fa4577108c2d15a4f3d96611a34e7d7d152ca.tar.lz
gsoc2013-evolution-0c1fa4577108c2d15a4f3d96611a34e7d7d152ca.tar.xz
gsoc2013-evolution-0c1fa4577108c2d15a4f3d96611a34e7d7d152ca.tar.zst
gsoc2013-evolution-0c1fa4577108c2d15a4f3d96611a34e7d7d152ca.zip
Bug #585715 - Skip empty parts in multipart/alternative formatting
Diffstat (limited to 'em-format')
-rw-r--r--em-format/em-format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/em-format/em-format.c b/em-format/em-format.c
index a6b01f4b9a..9d3cb7c1f9 100644
--- a/em-format/em-format.c
+++ b/em-format/em-format.c
@@ -1445,7 +1445,7 @@ emf_multipart_alternative(EMFormat *emf, CamelStream *stream, CamelMimePart *par
/* is it correct to use the passed in *part here? */
part = camel_multipart_get_part(mp, i);
- if (!part)
+ if (!part || !camel_mime_part_get_content_size (part))
continue;
type = camel_mime_part_get_content_type (part);