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



commit 08371aad35b251679c7b40e3dd3b303888a3b12a
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]