dovecot-sieve-1.0: Expand ~ to home in sieve path.

dovecot at dovecot.org dovecot at dovecot.org
Mon Feb 25 14:27:18 EET 2008


details:   http://hg.dovecot.org/dovecot-sieve-1.0/rev/1cd0bb22b9fb
changeset: 31:1cd0bb22b9fb
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Feb 25 14:29:28 2008 +0200
description:
Expand ~ to home in sieve path.

diffstat:

1 file changed, 1 insertion(+)
src/cmusieve-plugin.c |    1 +

diffs (11 lines):

diff -r 9f9a867501bf -r 1cd0bb22b9fb src/cmusieve-plugin.c
--- a/src/cmusieve-plugin.c	Mon Aug 13 16:54:52 2007 +0100
+++ b/src/cmusieve-plugin.c	Mon Feb 25 14:29:28 2008 +0200
@@ -27,6 +27,7 @@ static const char *get_sieve_path(void)
 			/* disabled */
 			return NULL;
 		}
+		script_path = home_expand(script_path);
 
 		if (*script_path != '/' && *script_path != '\0') {
 			/* relative path. change to absolute. */


More information about the dovecot-cvs mailing list