From 83a77e9b317246ee4010daf0584fbbc6475874ad Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 12 Mar 2013 17:51:50 +0100 Subject: [PATCH] Bug #352266 - Can't filter on body of message if Content-Transfer-Encoding is base64 --- camel/camel-search-private.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.7.4