diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-12-10 14:59:38 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-12-10 14:59:38 +0000 |
commit | d871c37930e3aa432c79228a421ebb31b24b1d5b (patch) | |
tree | 7c657c2813ec9746191fd63b5ce285a49475befe /libsieve/argp.c | |
parent | b025e6e958ca178e84536f5e9e7f6814cd612ccf (diff) | |
download | mailutils-d871c37930e3aa432c79228a421ebb31b24b1d5b.tar.gz mailutils-d871c37930e3aa432c79228a421ebb31b24b1d5b.tar.bz2 |
(sieve_argp_parser): Always add SIEVE_MODDIR to sieve_library_path.
Diffstat (limited to 'libsieve/argp.c')
-rw-r--r-- | libsieve/argp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libsieve/argp.c b/libsieve/argp.c index 5e496ebf1..36c766da6 100644 --- a/libsieve/argp.c +++ b/libsieve/argp.c @@ -64,6 +64,13 @@ sieve_argp_parser (int key, char *arg, struct argp_state *state) plist = &sieve_library_path; break; + case ARGP_KEY_INIT: +#ifdef SIEVE_MODDIR + plist = &sieve_library_path; + arg = SIEVE_MODDIR; +#endif + break; + case ARGP_KEY_FINI: sieve_load_add_path (sieve_library_path); break; |