[evolution] Bug #585715 - Skip empty parts in multipart/alternative formatting
- From: Milan Crha <mcrha src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution] Bug #585715 - Skip empty parts in multipart/alternative formatting
- Date: Fri, 23 Oct 2009 18:29:57 +0000 (UTC)
commit 0c1fa4577108c2d15a4f3d96611a34e7d7d152ca
Author: Milan Crha <mcrha redhat com>
Date: Fri Oct 23 20:28:44 2009 +0200
Bug #585715 - Skip empty parts in multipart/alternative formatting
em-format/em-format.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/em-format/em-format.c b/em-format/em-format.c
index a6b01f4..9d3cb7c 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]