[evolution/webkit: 106/196] Fix parsing multipart/alternative (broken during rebase)



commit 491c2e6277e846c8b572a88ce21cb807efcf5f95
Author: Dan VrÃtil <dvratil redhat com>
Date:   Mon Jan 9 10:36:43 2012 +0100

    Fix parsing multipart/alternative (broken during rebase)

 em-format/em-format.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/em-format/em-format.c b/em-format/em-format.c
index e881f63..ed9a5bb 100644
--- a/em-format/em-format.c
+++ b/em-format/em-format.c
@@ -34,7 +34,7 @@
 #include "shell/e-shell.h"
 #include "shell/e-shell-settings.h"
 
-#define d(x)
+#define d(x) x
 
 #define EM_FORMAT_GET_PRIVATE(obj) \
 	(G_TYPE_INSTANCE_GET_PRIVATE \
@@ -396,11 +396,6 @@ emf_parse_multipart_alternative (EMFormat *emf,
 		if (content_size == 0)
 			continue;
 
-		data_wrapper = camel_medium_get_content ((CamelMedium *) mpart);
-		ba = camel_data_wrapper_get_byte_array (data_wrapper);
-		if (ba->len == 0)
-			continue;
-
 		type = camel_mime_part_get_content_type (mpart);
 		mime_type = camel_content_type_simple (type);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]