Commit 12199989 12199989de49cd4a965a545bc1599ad5088f806a by Sergey Poznyakoff

(mail_print_msg): Unfold the header value, if required.

1 parent 8a9da05f
...@@ -74,6 +74,8 @@ mail_print_msg (msgset_t *mspec, message_t mesg, void *data) ...@@ -74,6 +74,8 @@ mail_print_msg (msgset_t *mspec, message_t mesg, void *data)
74 { 74 {
75 fprintf (out, "%s: ", buf); 75 fprintf (out, "%s: ", buf);
76 header_aget_field_value (hdr, i, &tmp); 76 header_aget_field_value (hdr, i, &tmp);
77 if (mail_header_is_unfoldable (buf))
78 mu_string_unfold (tmp, NULL);
77 util_rfc2047_decode (&tmp); 79 util_rfc2047_decode (&tmp);
78 fprintf (out, "%s\n", tmp); 80 fprintf (out, "%s\n", tmp);
79 free (tmp); 81 free (tmp);
......