summaryrefslogtreecommitdiff
path: root/libsieve/argp.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-12-10 14:59:38 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-12-10 14:59:38 +0000
commitd871c37930e3aa432c79228a421ebb31b24b1d5b (patch)
tree7c657c2813ec9746191fd63b5ce285a49475befe /libsieve/argp.c
parentb025e6e958ca178e84536f5e9e7f6814cd612ccf (diff)
downloadmailutils-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.c7
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;

Return to:

Send suggestions and report system problems to the System administrator.