diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-09-25 14:05:34 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-09-25 14:05:34 +0000 |
commit | 12199989de49cd4a965a545bc1599ad5088f806a (patch) | |
tree | ea7c1267121afdac55b7abbac9dbdfd07414c367 | |
parent | 8a9da05fad8b96c3bb1cc417eddc77a4f8274256 (diff) | |
download | mailutils-12199989de49cd4a965a545bc1599ad5088f806a.tar.gz mailutils-12199989de49cd4a965a545bc1599ad5088f806a.tar.bz2 |
(mail_print_msg): Unfold the header value, if required.
-rw-r--r-- | mail/print.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/print.c b/mail/print.c index debfa764f..019483b20 100644 --- a/mail/print.c +++ b/mail/print.c @@ -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); |