dovecot-1.2-sieve: Spamtest extension: fixed small bug in yesno-...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Mon Jan 4 00:31:11 EET 2010


details:   http://hg.rename-it.nl/dovecot-1.2-sieve/rev/e16aa3eddba2
changeset: 1188:e16aa3eddba2
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Sun Jan 03 23:22:25 2010 +0100
description:
Spamtest extension: fixed small bug in yesno-type spam header matching.

diffstat:

 src/lib-sieve/plugins/spamvirustest/ext-spamvirustest-common.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 75b3cc6312c5 -r e16aa3eddba2 src/lib-sieve/plugins/spamvirustest/ext-spamvirustest-common.c
--- a/src/lib-sieve/plugins/spamvirustest/ext-spamvirustest-common.c	Sun Jan 03 23:08:21 2010 +0100
+++ b/src/lib-sieve/plugins/spamvirustest/ext-spamvirustest-common.c	Sun Jan 03 23:22:25 2010 +0100
@@ -263,7 +263,7 @@
 	} else if ( strcmp(status_type, "strlen") == 0 ) {
 		ext_data->status_type = EXT_SPAMVIRUSTEST_STATUS_TYPE_STRLEN;
 	} else if ( strcmp(status_type, "yesno") == 0 ) {
-		ext_data->status_type = EXT_SPAMVIRUSTEST_STATUS_TYPE_STRLEN;
+		ext_data->status_type = EXT_SPAMVIRUSTEST_STATUS_TYPE_YESNO;
 	} else {
 		sieve_sys_error("%s: invalid status type '%s'", ext_name, status_type);
 		return FALSE;


More information about the dovecot-cvs mailing list