changeset 3118:eea18691435e HEAD

fix
author Timo Sirainen <tss@iki.fi>
date Sun, 23 Jan 2005 00:52:20 +0200
parents fd973ec62103
children 8ea8ff089ae3
files src/lib-index/mail-index-transaction.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-index/mail-index-transaction.c	Sun Jan 23 00:47:51 2005 +0200
+++ b/src/lib-index/mail-index-transaction.c	Sun Jan 23 00:52:20 2005 +0200
@@ -415,7 +415,7 @@
 	while (left_idx < right_idx) {
 		idx = (left_idx + right_idx) / 2;
 
-		if (updates[idx].uid1 < u.uid1)
+		if (updates[idx].uid2 < u.uid1)
 			left_idx = idx+1;
 		else if (updates[idx].uid1 > u.uid1)
 			right_idx = idx;