dovecot-1.1: Another fix to mail_index_transaction_get_next_uid(...

dovecot at dovecot.org dovecot at dovecot.org
Thu Jan 22 06:40:42 EET 2009


details:   http://hg.dovecot.org/dovecot-1.1/rev/73e6a7f21a03
changeset: 8120:73e6a7f21a03
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Jan 22 02:39:02 2009 +0200
description:
Another fix to mail_index_transaction_get_next_uid() fix.

diffstat:

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

diffs (12 lines):

diff -r bc3a78d101be -r 73e6a7f21a03 src/lib-index/mail-index-transaction.c
--- 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:02 2009 +0200
@@ -544,7 +544,7 @@ uint32_t mail_index_transaction_get_next
 	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 */


More information about the dovecot-cvs mailing list