summaryrefslogtreecommitdiff
path: root/movemail
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2005-03-06 14:29:25 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2005-03-06 14:29:25 +0000
commit9228442de1e8cfa7bb819d8d4a85b1c05975a200 (patch)
treed0ee4e977d2c42cc758f9ed5402a93d269cb9550 /movemail
parent6223b874ac531c041625acc49b9daff69607188e (diff)
downloadmailutils-9228442de1e8cfa7bb819d8d4a85b1c05975a200.tar.gz
mailutils-9228442de1e8cfa7bb819d8d4a85b1c05975a200.tar.bz2
Use a uniform way of filename quoting in diagnostic messages.
Diffstat (limited to 'movemail')
-rw-r--r--movemail/movemail.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/movemail/movemail.c b/movemail/movemail.c
index 1f82a0c67..1c6d17c9f 100644
--- a/movemail/movemail.c
+++ b/movemail/movemail.c
@@ -103,13 +103,13 @@ die (mailbox_t mbox, char *msg, int status)
mailbox_get_url (mbox, &url);
if (emacs_mode)
- mu_error (_("%s:mailbox '%s': %s: %s"),
+ mu_error (_("%s:mailbox `%s': %s: %s"),
mu_errname (status),
url_to_string (url),
msg,
mu_strerror (status));
else
- mu_error (_("mailbox '%s': %s: %s"),
+ mu_error (_("mailbox `%s': %s: %s"),
url_to_string (url), msg, mu_strerror (status));
exit (1);
}
@@ -184,9 +184,13 @@ open_mailbox (mailbox_t *mbx, char *name, int flags, char *passwd)
if (status)
{
- mu_error (_("Could not create mailbox <%s>: %s\n"),
- name ? name : _("default"),
- mu_strerror (status));
+ if (name)
+ mu_error (_("Could not create mailbox `%s': %s"),
+ name,
+ mu_strerror (status));
+ else
+ mu_error (_("Could not create default mailbox: %s"),
+ mu_strerror (status));
exit (1);
}

Return to:

Send suggestions and report system problems to the System administrator.