dovecot-2.2-pigeonhole: lib-sieve: storage: Fixed handling of de...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Mon May 11 21:05:34 UTC 2015


details:   http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/59d59552247c
changeset: 2058:59d59552247c
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Mon May 11 23:05:24 2015 +0200
description:
lib-sieve: storage: Fixed handling of defaul script in sieve_storage_active_script_open().
It only worked when sieve_default_name was set.

diffstat:

 src/lib-sieve/sieve-storage.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r 00b74ac5af5b -r 59d59552247c src/lib-sieve/sieve-storage.c
--- a/src/lib-sieve/sieve-storage.c	Mon May 11 21:04:39 2015 +0200
+++ b/src/lib-sieve/sieve-storage.c	Mon May 11 23:05:24 2015 +0200
@@ -870,8 +870,7 @@
 
 	if ( script != NULL ||
 		(storage->flags & SIEVE_STORAGE_FLAG_SYNCHRONIZING) != 0 ||
-		storage->default_location == NULL ||
-		storage->default_name == NULL ) {
+		storage->default_location == NULL) {
 		if ( error_r != NULL )
 			*error_r = storage->error_code;
 		return script;


More information about the dovecot-cvs mailing list