changeset 3046:c35e02d5724a HEAD

When searching inside MIME part headers, we were using wrong charset for the search key. It was already in UTF-8.
author Timo Sirainen <tss@iki.fi>
date Thu, 06 Jan 2005 23:40:26 +0200
parents ccfd78cc07cc
children 89c49afa57fd
files src/lib-mail/message-body-search.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-mail/message-body-search.c	Thu Jan 06 23:12:19 2005 +0200
+++ b/src/lib-mail/message-body-search.c	Thu Jan 06 23:40:26 2005 +0200
@@ -109,8 +109,7 @@
 
 	hdr_search_ctx = message_header_search_init(pool_datastack_create(),
 						    ctx->body_ctx->key,
-						    ctx->body_ctx->charset,
-						    NULL);
+						    "UTF-8", NULL);
 	if (hdr_search_ctx == NULL) {
 		/* Invalid key. */
 		return FALSE;