dovecot-2.2: fts: Fixed handling NOT when using lib-fts

dovecot at dovecot.org dovecot at dovecot.org
Fri May 8 13:02:08 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/6ec2073bbf5c
changeset: 18547:6ec2073bbf5c
user:      Timo Sirainen <tss at iki.fi>
date:      Fri May 08 16:00:16 2015 +0300
description:
fts: Fixed handling NOT when using lib-fts

diffstat:

 src/plugins/fts/fts-search-args.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 60e48bb43f19 -r 6ec2073bbf5c src/plugins/fts/fts-search-args.c
--- a/src/plugins/fts/fts-search-args.c	Fri May 08 14:47:26 2015 +0300
+++ b/src/plugins/fts/fts-search-args.c	Fri May 08 16:00:16 2015 +0300
@@ -43,6 +43,7 @@
 	array_foreach(tokens, tokenp) {
 		arg = p_new(pool, struct mail_search_arg, 1);
 		*arg = *orig_arg;
+		arg->match_not = FALSE; /* we copied this to the parent SUB */
 		arg->next = NULL;
 		arg->value.str = p_strdup(pool, *tokenp);
 


More information about the dovecot-cvs mailing list