[dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-save.c, 1.20, 1.21

tss at dovecot.org tss at dovecot.org
Fri Mar 23 22:46:22 EET 2007


Update of /var/lib/cvs/dovecot/src/lib-storage/index/dbox
In directory talvi:/tmp/cvs-serv23578

Modified Files:
	dbox-save.c 
Log Message:
minor cleanup


Index: dbox-save.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/dbox/dbox-save.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- dbox-save.c	10 Sep 2006 12:48:26 -0000	1.20
+++ dbox-save.c	23 Mar 2007 20:46:20 -0000	1.21
@@ -330,7 +330,7 @@
 	struct dbox_file *file;
 	struct mail_index_view *view;
 	const struct mail_index_header *idx_hdr;
-	uint32_t seq, uid, last_uid, file_seq;
+	uint32_t seq, uid, next_uid, file_seq;
 	time_t old_mtime, new_mtime;
 	uoff_t offset;
 	int ret;
@@ -344,7 +344,7 @@
 		dbox_transaction_save_rollback(ctx);
 		return -1;
 	}
-	mail_index_append_assign_uids(ctx->trans, uid, &last_uid);
+	mail_index_append_assign_uids(ctx->trans, uid, &next_uid);
 
 	/* update UIDs */
 	for (seq = t->first_saved_mail_seq; seq <= ctx->seq; seq++, uid++) {



More information about the dovecot-cvs mailing list