diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-08-26 14:23:32 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-08-26 14:23:32 +0000 |
commit | 6178304b1670d7288d8a37b9165bda5cbc44c180 (patch) | |
tree | e17d3bce1e0b2a537937bc331efa240ce382b81e /mail.remote | |
parent | ef22616eba2aaa4e05079852ac1fa67c4ceeff08 (diff) | |
download | mailutils-6178304b1670d7288d8a37b9165bda5cbc44c180.tar.gz mailutils-6178304b1670d7288d8a37b9165bda5cbc44c180.tar.bz2 |
Normalize global namespace. Part 1
Diffstat (limited to 'mail.remote')
-rw-r--r-- | mail.remote/mail.remote.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mail.remote/mail.remote.c b/mail.remote/mail.remote.c index cb748a910..aeb372d25 100644 --- a/mail.remote/mail.remote.c +++ b/mail.remote/mail.remote.c @@ -1,9 +1,9 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 1999, 2000, 2001, 2002, 2004, 2005 Free Software Foundation, - Inc. + Copyright (C) 1999, 2000, 2001, 2002, 2004, + 2005 Free Software Foundation, Inc. GNU Mailutils is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. @@ -135,14 +135,14 @@ address_t from; /* Sender address */ address_t to; /* Recipient addresses */ stream_t in; /* Input stream */ void mr_exit (int status) { - address_destroy (&from); - address_destroy (&to); + mu_address_destroy (&from); + mu_address_destroy (&to); stream_destroy (&in, NULL); mailer_destroy (&mailer); exit (status ? 1 : 0); } @@ -165,23 +165,23 @@ main (int argc, char **argv) MU_AUTH_REGISTER_ALL_MODULES(); mu_argp_init (program_version, NULL); mu_argp_parse (&argp, &argc, &argv, 0, capa, &optind, NULL); if (optfrom) { - if ((status = address_create (&from, optfrom))) + if ((status = mu_address_create (&from, optfrom))) { mu_error (_("Parsing from addresses failed: %s"), mu_strerror (status)); mr_exit (status); } } if (argv[optind]) { - if ((status = address_createv (&to, (const char **) (argv + optind), -1))) + if ((status = mu_address_createv (&to, (const char **) (argv + optind), -1))) { mu_error (_("Parsing recipient addresses failed: %s"), mu_strerror (status)); mr_exit (status); } } |