dovecot-sieve-1.1: Lookup headers using mail_get_headers_utf8() ...

dovecot at dovecot.org dovecot at dovecot.org
Fri Jul 20 12:37:20 EEST 2007


details:   http://hg.dovecot.org/dovecot-sieve-1.1/rev/131e25f6862b
changeset: 31:131e25f6862b
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Jul 20 12:37:15 2007 +0300
description:
Lookup headers using mail_get_headers_utf8() so non-ASCII headers can be
compared.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/sieve-cmu.c |    2 +-

diffs (12 lines):

diff -r fae7f0d39827 -r 131e25f6862b src/sieve-cmu.c
--- a/src/sieve-cmu.c	Fri Jul 20 11:16:56 2007 +0300
+++ b/src/sieve-cmu.c	Fri Jul 20 12:37:15 2007 +0300
@@ -71,7 +71,7 @@ static int getheader(void *v, const char
     sieve_msgdata_t *m = v;
 
     if (phead==NULL) return SIEVE_FAIL;
-    *body = (const char **)mail_get_headers(m->mail, phead);
+    *body = (const char **)mail_get_headers_utf8(m->mail, phead);
 
     if (*body) {
 	return SIEVE_OK;


More information about the dovecot-cvs mailing list