summaryrefslogtreecommitdiff
path: root/frm
diff options
context:
space:
mode:
Diffstat (limited to 'frm')
-rw-r--r--frm/frm.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/frm/frm.c b/frm/frm.c
index f009d989a..904dce9be 100644
--- a/frm/frm.c
+++ b/frm/frm.c
@@ -171,13 +171,13 @@ get_personal (header_t hdr, const char *field, char *personal, size_t buflen)
char hfield[512];
int status;
/* Empty string. */
*hfield = '\0';
- status = header_get_value (hdr, field, hfield, sizeof (hfield), NULL);
+ status = header_get_value_unfold (hdr, field, hfield, sizeof (hfield), NULL);
if (status == 0)
{
address_t address = NULL;
size_t len = 0;
address_create (&address, hfield);
address_get_personal (address, 1, personal, buflen, &len);
@@ -239,14 +239,14 @@ action (observer_t o, size_t type)
if (show_number)
printf ("%d: ", counter);
if (show_field)
{
char hfield[256];
- int status = header_get_value (hdr, show_field, hfield,
- sizeof (hfield), NULL);
+ int status = header_get_value_unfold (hdr, show_field, hfield,
+ sizeof (hfield), NULL);
if (status == 0)
printf ("%s", hfield);
}
if (show_to)
{
@@ -269,14 +269,15 @@ action (observer_t o, size_t type)
printf ("-----\t");
}
if (show_subject)
{
char hsubject[64];
- int status = header_get_value (hdr, MU_HEADER_SUBJECT, hsubject,
- sizeof (hsubject), NULL);
+ int status = header_get_value_unfold (hdr, MU_HEADER_SUBJECT,
+ hsubject,
+ sizeof (hsubject), NULL);
if(status == 0)
printf("%s", hsubject);
}
printf ("\n");
break;
}

Return to:

Send suggestions and report system problems to the System administrator.