summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2005-03-12 19:23:52 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2005-03-12 19:23:52 +0000
commit7cd17eddb7b67456ab83f3cc8eecbf6d19fe4fe6 (patch)
treec7f5256c4f4dc84af97157f10416e837a3e5bd4e /examples
parent4d64d522226fefbcbf3802a6f5d8b6ed9cc9d97b (diff)
downloadmailutils-7cd17eddb7b67456ab83f3cc8eecbf6d19fe4fe6.tar.gz
mailutils-7cd17eddb7b67456ab83f3cc8eecbf6d19fe4fe6.tar.bz2
(header): Removed unused global
Diffstat (limited to 'examples')
-rw-r--r--examples/mta.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/mta.c b/examples/mta.c
index 93b0afe60..7e4085c55 100644
--- a/examples/mta.c
+++ b/examples/mta.c
@@ -71,7 +71,6 @@ char *from_person = NULL; /* Set the name of the `from' person */
int read_recipients = 0; /* Read the message for recipients */
int dot = 1; /* Message is terminated by a lone dot on a line */
-header_t header;
address_t recipients = NULL;
char *progname;
@@ -157,13 +156,6 @@ main (int argc, char **argv)
domain = getenv ("MTA_DOMAIN");
mu_set_user_email_domain (domain ? domain : "localhost");
- if ((status = header_create (&header, NULL, 0, NULL)) != 0)
- {
- mu_error ("%s: can't create header: %s",
- progname, mu_strerror (status));
- return 1;
- }
-
argc -= optind;
argv += optind;
if (smtp_mode)

Return to:

Send suggestions and report system problems to the System administrator.