dovecot-1.1: If we have both maybe and definite UIDs, remove all...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Mar 20 15:43:00 EET 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/2b89ceb0f6af
changeset: 7430:2b89ceb0f6af
user: Timo Sirainen <tss at iki.fi>
date: Thu Mar 20 15:42:57 2008 +0200
description:
If we have both maybe and definite UIDs, remove all definite UIDs from maybe
UIDs.
diffstat:
1 file changed, 1 insertion(+)
src/plugins/fts-squat/squat-trie.c | 1 +
diffs (11 lines):
diff -r 477b619b926b -r 2b89ceb0f6af src/plugins/fts-squat/squat-trie.c
--- a/src/plugins/fts-squat/squat-trie.c Thu Mar 20 15:34:44 2008 +0200
+++ b/src/plugins/fts-squat/squat-trie.c Thu Mar 20 15:42:57 2008 +0200
@@ -2015,6 +2015,7 @@ squat_trie_lookup_real(struct squat_trie
squat_trie_filter_type(type, &ctx.tmp_uids,
definite_uids);
}
+ seq_range_array_remove_seq_range(maybe_uids, definite_uids);
squat_trie_add_unknown(trie, maybe_uids);
array_free(&ctx.tmp_uids);
array_free(&ctx.tmp_uids2);
More information about the dovecot-cvs
mailing list