[dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-save.c, 1.10.2.6, 1.10.2.7
tss at dovecot.org
tss at dovecot.org
Fri Mar 23 22:46:19 EET 2007
Update of /var/lib/cvs/dovecot/src/lib-storage/index/dbox
In directory talvi:/tmp/cvs-serv23582
Modified Files:
Tag: branch_1_0
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.10.2.6
retrieving revision 1.10.2.7
diff -u -d -r1.10.2.6 -r1.10.2.7
--- dbox-save.c 23 Jul 2006 22:40:53 -0000 1.10.2.6
+++ dbox-save.c 23 Mar 2007 20:46:16 -0000 1.10.2.7
@@ -328,7 +328,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;
@@ -342,7 +342,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