# HG changeset patch # User Timo Sirainen # Date 1242856257 14400 # Node ID 0fdffcb669453d52795cc02179d8c1aa911db2b5 # Parent e7792f4509e63d2c82a5ce5966f7fbfdf80463a5 deliver_log_format: %s should contain subject in UTF8, not in MIME-encoded form. diff -r e7792f4509e6 -r 0fdffcb66945 src/deliver/deliver.c --- a/src/deliver/deliver.c Wed May 20 17:47:49 2009 -0400 +++ b/src/deliver/deliver.c Wed May 20 17:50:57 2009 -0400 @@ -116,7 +116,7 @@ tab[0].value = message; (void)mail_get_first_header(mail, "Message-ID", &tab[1].value); - (void)mail_get_first_header(mail, "Subject", &tab[2].value); + (void)mail_get_first_header_utf8(mail, "Subject", &tab[2].value); tab[3].value = deliver_get_address(mail, "From"); for (i = 1; tab[i].key != '\0'; i++) tab[i].value = str_sanitize(tab[i].value, 80);