changeset 8675:3be909959c02 HEAD

Another fix to mail_index_transaction_get_next_uid() fix.
author Timo Sirainen <tss@iki.fi>
date Thu, 22 Jan 2009 02:39:52 +0200
parents 9c0b76fa8ef6
children b45d3705f7d5
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	Wed Jan 21 19:40:19 2009 -0500
+++ b/src/lib-index/mail-index-transaction.c	Thu Jan 22 02:39:52 2009 +0200
@@ -547,7 +547,7 @@
 	if (array_is_created(&t->appends) && t->highest_append_uid != 0) {
 		/* get next_uid from appends if they have UIDs */
 		i_assert(next_uid <= t->highest_append_uid);
-		next_uid = t->highest_append_uid;
+		next_uid = t->highest_append_uid + 1;
 	}
 
 	/* see if it's been updated in pre/post header changes */