(mh_init): Use mu_register_all_formats
Showing
1 changed file
with
2 additions
and
12 deletions
... | @@ -40,18 +40,8 @@ char mh_list_format[] = | ... | @@ -40,18 +40,8 @@ char mh_list_format[] = |
40 | void | 40 | void |
41 | mh_init () | 41 | mh_init () |
42 | { | 42 | { |
43 | list_t bookie; | 43 | /* Register all mailbox and mailer formats */ |
44 | 44 | mu_register_all_formats (); | |
45 | /* Register mailbox formats */ | ||
46 | registrar_get_list (&bookie); | ||
47 | list_append (bookie, mh_record); | ||
48 | list_append (bookie, mbox_record); | ||
49 | list_append (bookie, path_record); | ||
50 | list_append (bookie, pop_record); | ||
51 | list_append (bookie, imap_record); | ||
52 | /* Possible supported mailers. */ | ||
53 | list_append (bookie, sendmail_record); | ||
54 | list_append (bookie, smtp_record); | ||
55 | 45 | ||
56 | /* Read user's profile */ | 46 | /* Read user's profile */ |
57 | mh_read_profile (); | 47 | mh_read_profile (); | ... | ... |
-
Please register or sign in to post a comment