(mail_from0): Use util_rfc2047_decode for "From" and "Subject" headers.
Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -57,7 +57,10 @@ mail_from0 (msgset_t *mspec, message_t msg, void *data) | ... | @@ -57,7 +57,10 @@ mail_from0 (msgset_t *mspec, message_t msg, void *data) |
57 | address_destroy (&address); | 57 | address_destroy (&address); |
58 | } | 58 | } |
59 | } | 59 | } |
60 | util_rfc2047_decode (&from); | ||
61 | |||
60 | header_aget_value_unfold (hdr, MU_HEADER_SUBJECT, &subj); | 62 | header_aget_value_unfold (hdr, MU_HEADER_SUBJECT, &subj); |
63 | util_rfc2047_decode (&subj); | ||
61 | 64 | ||
62 | message_get_attribute (msg, &attr); | 65 | message_get_attribute (msg, &attr); |
63 | 66 | ... | ... |
-
Please register or sign in to post a comment