dovecot: assertfix

dovecot at dovecot.org dovecot at dovecot.org
Mon Jul 2 22:48:08 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/c554a52f1b3d
changeset: 5864:c554a52f1b3d
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jul 02 22:48:01 2007 +0300
description:
assertfix

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-index/mail-transaction-log-view.c |    2 +-

diffs (12 lines):

diff -r 7d1844cbfd98 -r c554a52f1b3d src/lib-index/mail-transaction-log-view.c
--- a/src/lib-index/mail-transaction-log-view.c	Mon Jul 02 22:47:33 2007 +0300
+++ b/src/lib-index/mail-transaction-log-view.c	Mon Jul 02 22:48:01 2007 +0300
@@ -614,7 +614,7 @@ void mail_transaction_log_view_seek(stru
 
 	i_assert(seq >= view->min_file_seq && seq <= view->max_file_seq);
 	i_assert(seq != view->min_file_seq || offset >= view->min_file_offset);
-	i_assert(seq != view->max_file_seq || offset < view->max_file_offset);
+	i_assert(seq != view->max_file_seq || offset <= view->max_file_offset);
 
 	if (view->cur == NULL || seq != view->cur->hdr.file_seq) {
 		for (file = view->tail; file != NULL; file = file->next) {


More information about the dovecot-cvs mailing list