diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-01-22 21:44:15 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-01-22 21:44:15 +0000 |
commit | 05f001b19dea73e5d2b6e16ddf7a7daa0f14b174 (patch) | |
tree | deb443c5164bfb6f15a90fa7178f6f75044d945d /mail | |
parent | a72eb831a177db6c061170e34f6fe6612f0f148c (diff) | |
download | mailutils-05f001b19dea73e5d2b6e16ddf7a7daa0f14b174.tar.gz mailutils-05f001b19dea73e5d2b6e16ddf7a7daa0f14b174.tar.bz2 |
Renamed mu_errstring to mu_strerror for consistency with the usual practice.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/alt.c | 2 | ||||
-rw-r--r-- | mail/file.c | 2 | ||||
-rw-r--r-- | mail/mail.c | 8 | ||||
-rw-r--r-- | mail/send.c | 2 | ||||
-rw-r--r-- | mail/util.c | 8 | ||||
-rw-r--r-- | mail/var.c | 2 |
6 files changed, 12 insertions, 12 deletions
diff --git a/mail/alt.c b/mail/alt.c index aab161192..561504731 100644 --- a/mail/alt.c +++ b/mail/alt.c @@ -69,7 +69,7 @@ mail_set_my_name (char *name) my_email = mu_get_user_email (name); if (!my_email) { - util_error(_("can't determine my email address: %s"), mu_errstring (errno)); + util_error(_("can't determine my email address: %s"), mu_strerror (errno)); exit (1); } } diff --git a/mail/file.c b/mail/file.c index e84096469..7e89e85bc 100644 --- a/mail/file.c +++ b/mail/file.c @@ -87,7 +87,7 @@ mail_file (int argc, char **argv) || mailbox_open (newbox, MU_STREAM_RDWR) != 0) { mailbox_destroy (&newbox); - util_error(_("can't open mailbox %s: %s"), name, mu_errstring (errno)); + util_error(_("can't open mailbox %s: %s"), name, mu_strerror (errno)); free (name); return 1; } diff --git a/mail/mail.c b/mail/mail.c index daf12ffa6..4f664b9d0 100644 --- a/mail/mail.c +++ b/mail/mail.c @@ -381,14 +381,14 @@ main (int argc, char **argv) if (rc != 0) { util_error (_("Can not create mailbox for %s: %s"), args.user, - mu_errstring (rc)); + mu_strerror (rc)); exit (EXIT_FAILURE); } } else if ((rc = mailbox_create_default (&mbox, args.file)) != 0) { util_error (_("Can not create mailbox %s: %s"), args.file, - mu_errstring (rc)); + mu_strerror (rc)); exit (EXIT_FAILURE); } @@ -405,7 +405,7 @@ main (int argc, char **argv) url_t url = NULL; mailbox_get_url (mbox, &url); util_error (_("Can not open mailbox %s: %s"), - url_to_string (url), mu_errstring (rc)); + url_to_string (url), mu_strerror (rc)); exit (EXIT_FAILURE); } @@ -418,7 +418,7 @@ main (int argc, char **argv) url_t url = NULL; mailbox_get_url (mbox, &url); util_error (_("Can not read mailbox %s: %s"), - url_to_string (url), mu_errstring (rc)); + url_to_string (url), mu_strerror (rc)); exit (EXIT_FAILURE); } diff --git a/mail/send.c b/mail/send.c index 345f70563..bd5f66ce7 100644 --- a/mail/send.c +++ b/mail/send.c @@ -112,7 +112,7 @@ compose_header_set (compose_env_t * env, char *name, char *value, int mode) if (!env->header && (status = header_create (&env->header, NULL, 0, NULL)) != 0) { - util_error (_("can't create header: %s"), mu_errstring (status)); + util_error (_("can't create header: %s"), mu_strerror (status)); return status; } diff --git a/mail/util.c b/mail/util.c index b16dabd5e..424442415 100644 --- a/mail/util.c +++ b/mail/util.c @@ -1135,7 +1135,7 @@ util_header_expand (header_t *phdr) rc = header_create (&hdr, "", 0, NULL); if (rc) { - util_error (_("can't create temporary header: %s"), mu_errstring (rc)); + util_error (_("can't create temporary header: %s"), mu_strerror (rc)); return 1; } @@ -1177,10 +1177,10 @@ util_header_expand (header_t *phdr) errcnt++; if (exp) util_error (_("can't parse address `%s' (while expanding `%s'): %s"), - exp, p, mu_errstring (rc)); + exp, p, mu_strerror (rc)); else util_error (_("can't parse address `%s': %s"), - p, mu_errstring (rc)); + p, mu_strerror (rc)); } free (exp); @@ -1233,7 +1233,7 @@ util_get_message (mailbox_t mbox, size_t msgno, message_t *msg) if (status) { util_error (_("can't get message %lu: %s"), - (unsigned long) msgno, mu_errstring (status)); + (unsigned long) msgno, mu_strerror (status)); return status; } diff --git a/mail/var.c b/mail/var.c index 9c61ea556..de28ae206 100644 --- a/mail/var.c +++ b/mail/var.c @@ -55,7 +55,7 @@ parse_headers (FILE *fp, compose_env_t *env) if ((status = header_create (&header, NULL, 0, NULL)) != 0) { - util_error (_("can't create header: %s"), mu_errstring (status)); + util_error (_("can't create header: %s"), mu_strerror (status)); return 1; } |