dovecot-sieve-1.0: global_script_path -> sieve_global_path
dovecot at dovecot.org
dovecot at dovecot.org
Wed Aug 1 13:26:58 EEST 2007
details: http://hg.dovecot.org/dovecot-sieve-1.0/rev/3c260612c2d2
changeset: 24:3c260612c2d2
user: Timo Sirainen <tss at iki.fi>
date: Fri Jul 20 11:18:55 2007 +0300
description:
global_script_path -> sieve_global_path
diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
src/cmusieve-plugin.c | 6 +++++-
diffs (16 lines):
diff -r 0ddc99d4b747 -r 3c260612c2d2 src/cmusieve-plugin.c
--- a/src/cmusieve-plugin.c Fri Jul 13 01:55:12 2007 +0300
+++ b/src/cmusieve-plugin.c Fri Jul 20 11:18:55 2007 +0300
@@ -50,7 +50,11 @@ static const char *get_sieve_path(void)
i_error("stat(%s) failed: %m", script_path);
/* use global script instead, if one exists */
- script_path = getenv("GLOBAL_SCRIPT_PATH");
+ script_path = getenv("SIEVE_GLOBAL_PATH");
+ if (script_path == NULL) {
+ /* for backwards compatibility */
+ script_path = getenv("GLOBAL_SCRIPT_PATH");
+ }
}
return script_path;
More information about the dovecot-cvs
mailing list