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

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Fri Jan 8 00:58:45 EET 2010


details:   http://hg.rename-it.nl/dovecot-2.0-sieve/rev/cfe04d40b164
changeset: 1185:cfe04d40b164
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 8384098c7b51 -r cfe04d40b164 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