[dovecot-cvs] dovecot/src/lib-mail message-body-search.c,1.21,1.22

cras at dovecot.org cras at dovecot.org
Thu Jan 6 23:40:29 EET 2005


Update of /var/lib/cvs/dovecot/src/lib-mail
In directory talvi:/tmp/cvs-serv3474

Modified Files:
	message-body-search.c 
Log Message:
When searching inside MIME part headers, we were using wrong charset for the
search key. It was already in UTF-8.



Index: message-body-search.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-mail/message-body-search.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- message-body-search.c	20 Dec 2004 12:51:18 -0000	1.21
+++ message-body-search.c	6 Jan 2005 21:40:26 -0000	1.22
@@ -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;



More information about the dovecot-cvs mailing list