Mercurial > dovecot > original-hg > dovecot-1.2
changeset 66:f239e9a2c96c HEAD
wrong assert()s :)
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 28 Aug 2002 20:41:29 +0300 |
parents | 168e0bd616b6 |
children | b28ac4106d5a |
files | src/lib-storage/index/index-search.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/index-search.c Wed Aug 28 07:57:54 2002 +0300 +++ b/src/lib-storage/index/index-search.c Wed Aug 28 20:41:29 2002 +0300 @@ -586,8 +586,8 @@ &first_uid, &last_uid); /* seq_update() should make sure that these can't happen */ - i_assert(*first_seq >= *last_seq); - i_assert(first_uid >= last_uid); + i_assert(*first_seq <= *last_seq); + i_assert(first_uid <= last_uid); if (first_uid != 0 && (*first_seq != 1 || *last_seq != ibox->synced_messages_count)) { @@ -618,7 +618,7 @@ if (*last_seq == 0) *last_seq = ibox->synced_messages_count; - i_assert(*first_seq >= *last_seq); + i_assert(*first_seq <= *last_seq); } static void search_messages(IndexMailbox *ibox, MailSearchArg *args,