dovecot-2.2-pigeonhole: lib-sieve: duplicate extension: Fixed er...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Fri Sep 12 10:17:49 UTC 2014


details:   http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/ce0657ede24e
changeset: 1916:ce0657ede24e
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Fri Sep 12 12:17:38 2014 +0200
description:
lib-sieve: duplicate extension: Fixed erroneous compile error about conflicting tags when ":handle" argument was used last.

diffstat:

 src/lib-sieve/plugins/duplicate/tst-duplicate.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c191996854b3 -r ce0657ede24e src/lib-sieve/plugins/duplicate/tst-duplicate.c
--- a/src/lib-sieve/plugins/duplicate/tst-duplicate.c	Fri Sep 05 14:38:35 2014 +0200
+++ b/src/lib-sieve/plugins/duplicate/tst-duplicate.c	Fri Sep 12 12:17:38 2014 +0200
@@ -179,7 +179,7 @@
 		return FALSE;
 	}
 
-	if ( (bool)cmd->data ) {
+	if ( !sieve_argument_is(tag, duplicate_handle_tag) && (bool)cmd->data ) {
 		sieve_argument_validate_error(valdtr, *arg,
 			"conflicting :header and %s arguments specified "
 			"for the duplicate test",


More information about the dovecot-cvs mailing list