[dovecot-cvs] dovecot/src/lib-index mail-index-view.c, 1.44.2.7, 1.44.2.8

tss at dovecot.org tss at dovecot.org
Fri Feb 2 10:30:14 UTC 2007


Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv21209

Modified Files:
      Tag: branch_1_0
	mail-index-view.c 
Log Message:
Another lookup_uid_range() seq2 bugfix/crashfix.



Index: mail-index-view.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index-view.c,v
retrieving revision 1.44.2.7
retrieving revision 1.44.2.8
diff -u -d -r1.44.2.7 -r1.44.2.8
--- mail-index-view.c	25 Jan 2007 17:13:36 -0000	1.44.2.7
+++ mail-index-view.c	2 Feb 2007 10:30:11 -0000	1.44.2.8
@@ -375,7 +375,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;



More information about the dovecot-cvs mailing list