summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-11-22 14:02:47 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-11-22 14:02:47 +0000
commit08d42e219040dfa48e547e71c17616f33e14aa5b (patch)
tree57d1f5d6f81565cd8279502fb6145363ca0609b4
parent0fe7c3ee9a05057cd5f314b70083d72dcbc08f6d (diff)
downloadmailutils-08d42e219040dfa48e547e71c17616f33e14aa5b.tar.gz
mailutils-08d42e219040dfa48e547e71c17616f33e14aa5b.tar.bz2
(mu_sieve_module_init): Initialize mu_sieve_library_path with SIEVE_MODDIR.
-rw-r--r--libsieve/conf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libsieve/conf.c b/libsieve/conf.c
index 7c3321a70..6819337d5 100644
--- a/libsieve/conf.c
+++ b/libsieve/conf.c
@@ -56,6 +56,11 @@ mu_sieve_module_init (void *data)
if (!data)
return 0;
p = data;
+
+#ifdef SIEVE_MODDIR
+ _path_append (SIEVE_MODDIR, &mu_sieve_library_path);
+#endif
+
if (p->clearflags & MU_SIEVE_CLEAR_INCLUDE_PATH)
mu_list_destroy (&mu_sieve_include_path);
mu_list_do (p->include_path, _path_append, &mu_sieve_include_path);

Return to:

Send suggestions and report system problems to the System administrator.