diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-07-26 06:27:12 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-07-26 06:27:12 +0000 |
commit | 324975fdec9f928a1a5ba60347fa72e341021b41 (patch) | |
tree | eb972110a1c2c52d6f95bc093f1e9497b2cad9a5 /mail.remote | |
parent | 08f4f14c3109239d771392ddac23e60f8a47b61b (diff) | |
download | mailutils-324975fdec9f928a1a5ba60347fa72e341021b41.tar.gz mailutils-324975fdec9f928a1a5ba60347fa72e341021b41.tar.bz2 |
Use registrar_record instead of directly accessing registrar list.
Diffstat (limited to 'mail.remote')
-rw-r--r-- | mail.remote/mail.remote.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/mail.remote/mail.remote.c b/mail.remote/mail.remote.c index 6061a5bb1..cb748a910 100644 --- a/mail.remote/mail.remote.c +++ b/mail.remote/mail.remote.c @@ -1,5 +1,6 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2001, 2002, 2004, 2005 Free Software Foundation, + Inc. GNU Mailutils is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -159,11 +160,7 @@ main (int argc, char **argv) mu_init_nls (); /* Register mailers. */ - { - list_t bookie; - registrar_get_list (&bookie); - list_append (bookie, smtp_record); - } + registrar_record (smtp_record); MU_AUTH_REGISTER_ALL_MODULES(); mu_argp_init (program_version, NULL); |