diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-05-17 09:41:36 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-05-17 09:41:36 +0000 |
commit | 54e5182724214e3644aa010ed6edf827381175b6 (patch) | |
tree | 9fd95b75843a51c3e6581e4effc1c4affafef4b8 /mh/mh_whom.c | |
parent | d490b86d07937cffff45c9ae141e0d089bd5dd56 (diff) | |
download | mailutils-54e5182724214e3644aa010ed6edf827381175b6.tar.gz mailutils-54e5182724214e3644aa010ed6edf827381175b6.tar.bz2 |
Remove mh_error function, use mu_error instead.
Diffstat (limited to 'mh/mh_whom.c')
-rw-r--r-- | mh/mh_whom.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mh/mh_whom.c b/mh/mh_whom.c index 6e3440621..b005e6167 100644 --- a/mh/mh_whom.c +++ b/mh/mh_whom.c @@ -35,7 +35,7 @@ addrcp (mu_list_t *list, char *addr, int isbcc) p->isbcc = isbcc; if (!*list && (rc = mu_list_create (list))) { - mh_error (_("Cannot create list: %s"), mu_strerror (rc)); + mu_error (_("Cannot create list: %s"), mu_strerror (rc)); exit (1); } mu_list_append (*list, p); @@ -106,7 +106,7 @@ mh_alias_expand (char *str, mu_address_t *paddr, int *incl) int status; mu_argcv_string (argc, argv, &buf); if (status = mu_address_create (paddr, buf)) - mh_error (_("Bad address `%s': %s"), buf, mu_strerror (status)); + mu_error (_("Bad address `%s': %s"), buf, mu_strerror (status)); free (buf); } @@ -141,7 +141,7 @@ scan_addrs (char *str, int isbcc) rc = mu_address_aget_email (addr, i, &buf); if (rc) { - mh_error ("mu_address_aget_email: %s", mu_strerror (rc)); + mu_error ("mu_address_aget_email: %s", mu_strerror (rc)); continue; } @@ -227,7 +227,7 @@ mh_whom (char *filename, int check) ctx = mh_context_create (filename, 1); if (mh_context_read (ctx)) { - mh_error (_("Malformed message")); + mu_error (_("Malformed message")); rc = -1; } else @@ -252,7 +252,7 @@ mh_whom (char *filename, int check) if (count == 0) { - mh_error(_("No recipients")); + mu_error(_("No recipients")); rc = -1; } } |