dovecot-sieve-1.1: getheader() didn't return SIEVE_FAIL if no he...
dovecot at dovecot.org
dovecot at dovecot.org
Sun Sep 30 16:14:32 EEST 2007
details: http://hg.dovecot.org/dovecot-sieve-1.1/rev/ea1942bc565b
changeset: 40:ea1942bc565b
user: Timo Sirainen <tss at iki.fi>
date: Sun Sep 30 16:14:20 2007 +0300
description:
getheader() didn't return SIEVE_FAIL if no headers were found.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/sieve-cmu.c | 2 +-
diffs (12 lines):
diff -r fe11e5bfbd7c -r ea1942bc565b src/sieve-cmu.c
--- a/src/sieve-cmu.c Sun Sep 23 17:59:28 2007 +0300
+++ b/src/sieve-cmu.c Sun Sep 30 16:14:20 2007 +0300
@@ -76,7 +76,7 @@ static int getheader(void *v, const char
return SIEVE_FAIL;
*body = (const char **)headers;
- if (*body) {
+ if (**body) {
return SIEVE_OK;
} else {
return SIEVE_FAIL;
More information about the dovecot-cvs
mailing list