dovecot-2.2: lib-index: Fixed sequence lookup of newly created m...

dovecot at dovecot.org dovecot at dovecot.org
Sat Jan 5 01:14:36 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/7f4835cff04a
changeset: 15568:7f4835cff04a
user:      lion at ubuntu.ubuntu-domain
date:      Fri Dec 07 08:50:35 2012 +0400
description:
lib-index: Fixed sequence lookup of newly created mails in transaction view.

diffstat:

 src/lib-index/mail-index-transaction-view.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 32ce915e046a -r 7f4835cff04a src/lib-index/mail-index-transaction-view.c
--- a/src/lib-index/mail-index-transaction-view.c	Wed Dec 19 15:00:45 2012 +0200
+++ b/src/lib-index/mail-index-transaction-view.c	Fri Dec 07 08:50:35 2012 +0400
@@ -203,7 +203,7 @@
 			if (first_uid <= rec->uid)
 				break;
 		}
-		if (seq > tview->t->last_new_seq) {
+		if (seq > tview->t->last_new_seq || rec->uid > last_uid) {
 			/* no messages in range */
 			return;
 		}


More information about the dovecot-cvs mailing list