summaryrefslogtreecommitdiff
path: root/mail/from.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/from.c')
-rw-r--r--mail/from.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/from.c b/mail/from.c
index 0e2f6e90e..805b783ed 100644
--- a/mail/from.c
+++ b/mail/from.c
@@ -38,7 +38,7 @@ mail_from0 (msgset_t *mspec, message_t msg, void *data)
mu_timezone tz;
message_get_header (msg, &hdr);
- if (header_aget_value (hdr, MU_HEADER_FROM, &from) == 0)
+ if (header_aget_value_unfold (hdr, MU_HEADER_FROM, &from) == 0)
{
address_t address = NULL;
if (address_create (&address, from) == 0)
@@ -57,7 +57,7 @@ mail_from0 (msgset_t *mspec, message_t msg, void *data)
address_destroy (&address);
}
}
- header_aget_value (hdr, MU_HEADER_SUBJECT, &subj);
+ header_aget_value_unfold (hdr, MU_HEADER_SUBJECT, &subj);
message_get_attribute (msg, &attr);

Return to:

Send suggestions and report system problems to the System administrator.