dovecot-1.2: Another fix to mail_index_transaction_get_next_uid(...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Jan 22 06:41:31 EET 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/3be909959c02
changeset: 8675:3be909959c02
user: Timo Sirainen <tss at iki.fi>
date: Thu Jan 22 02:39:52 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 9c0b76fa8ef6 -r 3be909959c02 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:52 2009 +0200
@@ -547,7 +547,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