summaryrefslogtreecommitdiff
path: root/mh
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2004-01-08 16:30:41 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2004-01-08 16:30:41 +0000
commit456e74513ed87fe44e704cabb32247d07c57a879 (patch)
tree64b05d39ed9eee279c2d0c1118594e1240e516c8 /mh
parent6b4db5de2ba41425ad52ed6f17f59d7e6253760c (diff)
downloadmailutils-456e74513ed87fe44e704cabb32247d07c57a879.tar.gz
mailutils-456e74513ed87fe44e704cabb32247d07c57a879.tar.bz2
(mh_init): Use mu_register_all_formats
Diffstat (limited to 'mh')
-rw-r--r--mh/mh_init.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/mh/mh_init.c b/mh/mh_init.c
index e4e7ffe93..8c130d441 100644
--- a/mh/mh_init.c
+++ b/mh/mh_init.c
@@ -40,18 +40,8 @@ char mh_list_format[] =
void
mh_init ()
{
- list_t bookie;
-
- /* Register mailbox formats */
- registrar_get_list (&bookie);
- list_append (bookie, mh_record);
- list_append (bookie, mbox_record);
- list_append (bookie, path_record);
- list_append (bookie, pop_record);
- list_append (bookie, imap_record);
- /* Possible supported mailers. */
- list_append (bookie, sendmail_record);
- list_append (bookie, smtp_record);
+ /* Register all mailbox and mailer formats */
+ mu_register_all_formats ();
/* Read user's profile */
mh_read_profile ();

Return to:

Send suggestions and report system problems to the System administrator.