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

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


details:   http://hg.dovecot.org/dovecot-sieve-1.1/rev/e0a053a4ca84
changeset: 51:e0a053a4ca84
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Feb 25 14:29:30 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 dff41cab0623 -r e0a053a4ca84 src/cmusieve-plugin.c
--- a/src/cmusieve-plugin.c	Sat Feb 16 20:26:44 2008 +0200
+++ b/src/cmusieve-plugin.c	Mon Feb 25 14:29:30 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