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)
{
fprintf (out, "%s: ", buf);
header_aget_field_value (hdr, i, &tmp);
if (mail_header_is_unfoldable (buf))
mu_string_unfold (tmp, NULL);
util_rfc2047_decode (&tmp);
fprintf (out, "%s\n", tmp);
free (tmp);
......