Commit 741b9e09 741b9e09d472910db5f7dd216fa23fc4d7b1c565 by Wojciech Polak

(main): Use mu_register_all_formats().

1 parent d1512e84
1 /* GNU Mailutils -- a suite of utilities for electronic mail 1 /* GNU Mailutils -- a suite of utilities for electronic mail
2 Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc. 2 Copyright (C) 1999, 2000, 2001, 2002, 2003,
3 2004 Free Software Foundation, Inc.
3 4
4 GNU Mailutils is free software; you can redistribute it and/or modify 5 GNU Mailutils is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
...@@ -167,17 +168,7 @@ main (int argc, char *argv[]) ...@@ -167,17 +168,7 @@ main (int argc, char *argv[])
167 } 168 }
168 169
169 /* Register the desired formats. */ 170 /* Register the desired formats. */
170 { 171 mu_register_all_formats ();
171 list_t lst;
172 registrar_get_list (&lst);
173 list_append (lst, mbox_record);
174 list_append (lst, path_record);
175 list_append (lst, pop_record);
176 list_append (lst, imap_record);
177 /* Possible supported mailers. */
178 list_append (lst, sendmail_record);
179 list_append (lst, smtp_record);
180 }
181 172
182 if (!argv[optind]) 173 if (!argv[optind])
183 { 174 {
......