[evolution-data-server] Bug #352266 - Can't filter on body of message if Content-Transfer-Encoding is base64



commit 83a77e9b317246ee4010daf0584fbbc6475874ad
Author: Milan Crha <mcrha redhat com>
Date:   Tue Mar 12 17:51:50 2013 +0100

    Bug #352266 - Can't filter on body of message if Content-Transfer-Encoding is base64

 camel/camel-search-private.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-search-private.c b/camel/camel-search-private.c
index c7e1eeb..e299be1 100644
--- a/camel/camel-search-private.c
+++ b/camel/camel-search-private.c
@@ -541,7 +541,7 @@ camel_search_message_body_contains (CamelDataWrapper *object,
 
                byte_array = g_byte_array_new ();
                stream = camel_stream_mem_new_with_byte_array (byte_array);
-               camel_data_wrapper_write_to_stream_sync (
+               camel_data_wrapper_decode_to_stream_sync (
                        containee, stream, NULL, NULL);
                camel_stream_write (stream, "", 1, NULL, NULL);
                truth = regexec (pattern, (gchar *) byte_array->data, 0, NULL, 0) == 0;


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