summaryrefslogtreecommitdiff
path: root/examples/sfrom.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-09-02 14:33:29 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-09-02 14:33:29 +0000
commit963dbebcfeba4731d5479c6e18e8fd0b4f4ac0eb (patch)
tree5a0fc17e3c42a704c464acbd1f29d3d8381fc131 /examples/sfrom.c
parent3a3490eecf751bfc54c90692eab20d8408061bea (diff)
downloadmailutils-963dbebcfeba4731d5479c6e18e8fd0b4f4ac0eb.tar.gz
mailutils-963dbebcfeba4731d5479c6e18e8fd0b4f4ac0eb.tar.bz2
Untabified. Needed for proper conversion to *.texi
Diffstat (limited to 'examples/sfrom.c')
-rw-r--r--examples/sfrom.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/sfrom.c b/examples/sfrom.c
index 56795d4b9..f7a7f8494 100644
--- a/examples/sfrom.c
+++ b/examples/sfrom.c
@@ -64,18 +64,18 @@ main (int argc, const char **argv)
header_t hdr;
if ((status = mailbox_get_message (mbox, msgno, &msg)) != 0
- || (status = message_get_header (msg, &hdr)) != 0)
- {
- fprintf (stderr, "Error message: %s\n",
- mu_errstring (status));
- exit (EXIT_FAILURE);
- }
+ || (status = message_get_header (msg, &hdr)) != 0)
+ {
+ fprintf (stderr, "Error message: %s\n",
+ mu_errstring (status));
+ exit (EXIT_FAILURE);
+ }
if (header_aget_value (hdr, MU_HEADER_FROM, &from))
- from = strdup ("(NO FROM)");
+ from = strdup ("(NO FROM)");
if (header_aget_value (hdr, MU_HEADER_SUBJECT, &subject))
- subject = strdup("(NO SUBJECT)");
+ subject = strdup("(NO SUBJECT)");
printf ("%s\t%s\n", from, subject);
free (from);

Return to:

Send suggestions and report system problems to the System administrator.