dovecot-2.2-pigeonhole: LDA Sieve plugin: Fixed spurious error c...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Thu May 7 19:49:43 UTC 2015


details:   http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/1414446ef704
changeset: 2048:1414446ef704
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Thu May 07 21:46:57 2015 +0200
description:
LDA Sieve plugin: Fixed spurious error caused by earlier changes.

diffstat:

 src/plugins/lda-sieve/lda-sieve-plugin.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r eb001d7bbabf -r 1414446ef704 src/plugins/lda-sieve/lda-sieve-plugin.c
--- a/src/plugins/lda-sieve/lda-sieve-plugin.c	Thu May 07 21:41:24 2015 +0200
+++ b/src/plugins/lda-sieve/lda-sieve-plugin.c	Thu May 07 21:46:57 2015 +0200
@@ -645,7 +645,7 @@
 		srctx->main_script =
 			sieve_storage_active_script_open(main_storage, &error);
 
-		if ( srctx->user_script == NULL ) {
+		if ( srctx->main_script == NULL ) {
 			switch ( error ) {
 			case SIEVE_ERROR_NOT_FOUND:
 				sieve_sys_debug(svinst,
@@ -661,8 +661,7 @@
 				break;
 			default:
 				sieve_sys_error(svinst,
-					"Failed to access active Sieve script in user storage `%s' "
-					"(trying default script location instead)",
+					"Failed to access active Sieve script in user storage `%s'",
 					sieve_storage_location(main_storage));
 				break;
 			}


More information about the dovecot-cvs mailing list