summaryrefslogtreecommitdiffabout
path: root/sieve
authorSergey Poznyakoff <gray@gnu.org.ua>2004-01-08 16:30:29 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2004-01-08 16:30:29 (GMT)
commit6b4db5de2ba41425ad52ed6f17f59d7e6253760c (patch) (side-by-side diff)
tree0147eb1ae8e3ffa6bb61ded09d5261d9265b8e54 /sieve
parent45a2791f0bb68f1af73056fdc7ab07a39c2b9baa (diff)
downloadmailutils-6b4db5de2ba41425ad52ed6f17f59d7e6253760c.tar.gz
mailutils-6b4db5de2ba41425ad52ed6f17f59d7e6253760c.tar.bz2
(main): Use mu_register_all_formats
Diffstat (limited to 'sieve') (more/less context) (ignore whitespace changes)
-rw-r--r--sieve/sieve.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/sieve/sieve.c b/sieve/sieve.c
index 9287272..3d5eff4 100644
--- a/sieve/sieve.c
+++ b/sieve/sieve.c
@@ -44,8 +44,6 @@
#include <mailutils/nls.h>
#include <mailutils/tls.h>
-void mutil_register_all_mbox_formats (void);
-
const char *program_version = "sieve (" PACKAGE_STRING ")";
static char doc[] =
@@ -367,7 +365,7 @@ main (int argc, char *argv[])
if (rc)
return 1;
- mutil_register_all_mbox_formats ();
+ mu_register_all_formats ();
/* Sieve interpreter setup. */
rc = sieve_machine_init (&mach, NULL);
@@ -535,17 +533,3 @@ cleanup:
return rc ? 1 : 0;
}
-void
-mutil_register_all_mbox_formats (void)
-{
- list_t bookie = 0;
- registrar_get_list (&bookie);
- list_append (bookie, path_record);
- list_append (bookie, file_record);
- list_append (bookie, mbox_record);
- list_append (bookie, pop_record);
- list_append (bookie, imap_record);
- list_append (bookie, mh_record);
- list_append (bookie, sendmail_record);
- list_append (bookie, smtp_record);
-}

Return to:

Send suggestions and report system problems to the System administrator.