dovecot-1.1: Expunge fix
dovecot at dovecot.org
dovecot at dovecot.org
Sat Feb 16 14:22:19 EET 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/44069f98343e
changeset: 7250:44069f98343e
user: Timo Sirainen <tss at iki.fi>
date: Sat Feb 16 14:22:47 2008 +0200
description:
Expunge fix
diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
src/plugins/fts-squat/squat-trie.c | 4 ++--
diffs (14 lines):
diff -r eb310b0d0966 -r 44069f98343e src/plugins/fts-squat/squat-trie.c
--- a/src/plugins/fts-squat/squat-trie.c Sat Feb 16 13:22:11 2008 +0200
+++ b/src/plugins/fts-squat/squat-trie.c Sat Feb 16 14:22:47 2008 +0200
@@ -1206,8 +1206,8 @@ squat_uidlist_update_expunged_uids(const
uids[uid_idx].seq1 += child_shift_count;
} else {
seq_range_array_remove_range(uids_arr,
- shift.seq1,
- shift.seq2);
+ shift.seq1,
+ I_MIN(shift.seq2, uids[uid_idx].seq2));
uids = array_get_modifiable(uids_arr,
&uid_count);
}
More information about the dovecot-cvs
mailing list