dovecot-1.2-sieve: lib-sieve: spamtest virustest extensions: Fix...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Sun Sep 15 13:41:42 EEST 2013


details:   http://hg.rename-it.nl/dovecot-1.2-sieve/rev/494d51a4b07b
changeset: 1292:494d51a4b07b
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Sun Sep 15 12:19:10 2013 +0200
description:
lib-sieve: spamtest virustest extensions: Fixed end-of-string testing in configuration parser.

diffstat:

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

diffs (12 lines):

diff -r 3adf9046ded8 -r 494d51a4b07b src/lib-sieve/plugins/spamvirustest/ext-spamvirustest-common.c
--- a/src/lib-sieve/plugins/spamvirustest/ext-spamvirustest-common.c	Thu May 19 23:41:02 2011 +0200
+++ b/src/lib-sieve/plugins/spamvirustest/ext-spamvirustest-common.c	Sun Sep 15 12:19:10 2013 +0200
@@ -121,7 +121,7 @@
 	spec->header_name = p_strdup_until(pool, data, p);
 	while ( *p == ' ' || *p == '\t' ) p++;
 
-	if ( p == '\0' ) {
+	if ( *p == '\0' ) {
 		spec->regexp_match = FALSE;
 		return TRUE;
 	}


More information about the dovecot-cvs mailing list