(mail_print_msg): Unfold the header value, if required.
Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -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); | ... | ... |
-
Please register or sign in to post a comment