diff options
Diffstat (limited to 'mda/mda/mda.c')
-rw-r--r-- | mda/mda/mda.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/mda/mda/mda.c b/mda/mda/mda.c index 151df644f..2aff5e593 100644 --- a/mda/mda/mda.c +++ b/mda/mda/mda.c @@ -1,5 +1,5 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 2007-2019 Free Software Foundation, Inc. + Copyright (C) 2007-2024 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 @@ -95,11 +95,10 @@ main (int argc, char **argv) /* Native Language Support */ MU_APP_INIT_NLS (); - /* Default locker settings */ - mu_locker_set_default_flags (MU_LOCKER_PID|MU_LOCKER_RETRY, - mu_locker_assign); - mu_locker_set_default_retry_timeout (1); - mu_locker_set_default_retry_count (300); + /* Set locker defaults. */ + mu_locker_defaults.flags = MU_LOCKER_FLAG_CHECK_PID | MU_LOCKER_FLAG_RETRY; + mu_locker_defaults.retry_sleep = 1; + mu_locker_defaults.retry_count = 300; /* Register needed modules */ MU_AUTH_REGISTER_ALL_MODULES (); |