[evolution] Bug #613261 - application/mbox not shown properly



commit e835906dcc57e84aab564a6edfda5ac28e9c628a
Author: Milan Crha <mcrha redhat com>
Date:   Thu Apr 1 15:20:22 2010 +0200

    Bug #613261 - application/mbox not shown properly

 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 3369819..f9126ca 100644
--- a/em-format/em-format.c
+++ b/em-format/em-format.c
@@ -1782,7 +1782,7 @@ emf_application_mbox (EMFormat *emf,
 
 	mem_stream = camel_stream_mem_new ();
 	camel_data_wrapper_decode_to_stream (
-		CAMEL_DATA_WRAPPER (mime_part), mem_stream);
+		camel_medium_get_content_object (CAMEL_MEDIUM (mime_part)), mem_stream);
 	camel_seekable_stream_seek (
 		CAMEL_SEEKABLE_STREAM (mem_stream), 0, CAMEL_STREAM_SET);
 	camel_mime_parser_init_with_stream (parser, mem_stream);



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