Mercurial > dovecot > core-2.2
changeset 5096:89bf4b47bc61 HEAD
Another lookup_uid_range() seq2 bugfix/crashfix.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 02 Feb 2007 12:30:15 +0200 |
parents | c319af74c252 |
children | 55bebf61cfdd |
files | src/lib-index/mail-index-view.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-index/mail-index-view.c Fri Feb 02 00:35:01 2007 +0200 +++ b/src/lib-index/mail-index-view.c Fri Feb 02 12:30:15 2007 +0200 @@ -378,7 +378,7 @@ else { /* optimization - binary lookup only from right side: */ *last_seq_r = mail_index_bsearch_uid(view, last_uid, - *first_seq_r, -1); + *first_seq_r - 1, -1); } i_assert(*last_seq_r >= *first_seq_r); return 0;