Commit 1a7e1bca 1a7e1bca362902f3c6f82db3f53f98f4a72a9818 by Sergey Poznyakoff

(mail_from0): Use util_rfc2047_decode for "From" and "Subject" headers.

1 parent c10209e0
...@@ -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
......