summaryrefslogtreecommitdiffabout
path: root/mail.remote
authorSergey Poznyakoff <gray@gnu.org.ua>2003-01-22 21:44:15 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2003-01-22 21:44:15 (GMT)
commit05f001b19dea73e5d2b6e16ddf7a7daa0f14b174 (patch) (side-by-side diff)
treedeb443c5164bfb6f15a90fa7178f6f75044d945d /mail.remote
parenta72eb831a177db6c061170e34f6fe6612f0f148c (diff)
downloadmailutils-05f001b19dea73e5d2b6e16ddf7a7daa0f14b174.tar.gz
mailutils-05f001b19dea73e5d2b6e16ddf7a7daa0f14b174.tar.bz2
Renamed mu_errstring to mu_strerror for consistency with the usual practice.
Diffstat (limited to 'mail.remote') (more/less context) (ignore whitespace changes)
-rw-r--r--mail.remote/mail.remote.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/mail.remote/mail.remote.c b/mail.remote/mail.remote.c
index ec9107a..d8b952b 100644
--- a/mail.remote/mail.remote.c
+++ b/mail.remote/mail.remote.c
@@ -149,7 +149,7 @@ main (int argc, char **argv)
if ((status = address_create (&from, optfrom)))
{
fprintf (stderr, _("Parsing from addresses failed: %s\n"),
- mu_errstring (status));
+ mu_strerror (status));
goto end;
}
}
@@ -161,33 +161,33 @@ main (int argc, char **argv)
if ((status = address_createv (&to, (const char **) av, -1)))
{
fprintf (stderr, _("Parsing to addresses failed: %s\n"),
- mu_errstring (status));
+ mu_strerror (status));
goto end;
}
}
if ((status = stdio_stream_create (&in, stdin, MU_STREAM_SEEKABLE)))
{
- fprintf (stderr, _("Failed: %s\n"), mu_errstring (status));
+ fprintf (stderr, _("Failed: %s\n"), mu_strerror (status));
goto end;
}
if ((status = stream_open (in)))
{
- fprintf (stderr, _("Opening stdin failed: %s\n"), mu_errstring (status));
+ fprintf (stderr, _("Opening stdin failed: %s\n"), mu_strerror (status));
goto end;
}
if ((status = message_create (&msg, NULL)))
{
- fprintf (stderr, _("Failed: %s\n"), mu_errstring (status));
+ fprintf (stderr, _("Failed: %s\n"), mu_strerror (status));
goto end;
}
if ((status = message_set_stream (msg, in, NULL)))
{
fprintf (stderr, _("Failed: %s\n"),
- mu_errstring (status));
+ mu_strerror (status));
goto end;
}
@@ -196,7 +196,7 @@ main (int argc, char **argv)
const char *url = NULL;
mailer_get_url_default (&url);
fprintf (stderr, _("Creating mailer '%s' failed: %s\n"),
- url, mu_errstring (status));
+ url, mu_strerror (status));
goto end;
}
@@ -215,19 +215,19 @@ main (int argc, char **argv)
const char *url = NULL;
mailer_get_url_default (&url);
fprintf (stderr, _("Opening mailer '%s' failed: %s\n"),
- url, mu_errstring (status));
+ url, mu_strerror (status));
goto end;
}
if ((status = mailer_send_message (mailer, msg, from, to)))
{
- fprintf (stderr, _("Sending message failed: %s\n"), mu_errstring (status));
+ fprintf (stderr, _("Sending message failed: %s\n"), mu_strerror (status));
goto end;
}
if ((status = mailer_close (mailer)))
{
- fprintf (stderr, _("Closing mailer failed: %s\n"), mu_errstring (status));
+ fprintf (stderr, _("Closing mailer failed: %s\n"), mu_strerror (status));
goto end;
}

Return to:

Send suggestions and report system problems to the System administrator.