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 @@ | |||
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, 2004 Free Software Foundation, Inc. | 2 | Copyright (C) 1999, 2000, 2001, 2002, 2004, 2005 Free Software Foundation, |
3 | 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 |
@@ -159,11 +160,7 @@ main (int argc, char **argv) | |||
159 | mu_init_nls (); | 160 | mu_init_nls (); |
160 | 161 | ||
161 | /* Register mailers. */ | 162 | /* Register mailers. */ |
162 | { | 163 | registrar_record (smtp_record); |
163 | list_t bookie; | ||
164 | registrar_get_list (&bookie); | ||
165 | list_append (bookie, smtp_record); | ||
166 | } | ||
167 | 164 | ||
168 | MU_AUTH_REGISTER_ALL_MODULES(); | 165 | MU_AUTH_REGISTER_ALL_MODULES(); |
169 | mu_argp_init (program_version, NULL); | 166 | mu_argp_init (program_version, NULL); |