[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-save.c, 1.86, 1.87
tss at dovecot.org
tss at dovecot.org
Tue Apr 17 20:18:05 EEST 2007
Update of /var/lib/cvs/dovecot/src/lib-storage/index/maildir
In directory talvi:/tmp/cvs-serv1559/index/maildir
Modified Files:
maildir-save.c
Log Message:
Fixed mailbox_transaction_commit_get_uids() to actually work and not just
crash.
Index: maildir-save.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/maildir/maildir-save.c,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- maildir-save.c 17 Apr 2007 16:40:57 -0000 1.86
+++ maildir-save.c 17 Apr 2007 17:18:02 -0000 1.87
@@ -556,8 +556,8 @@
i_assert(first_uid != 0);
mail_index_append_assign_uids(ctx->trans, first_uid, &next_uid);
- t->ictx.first_saved_uid = first_uid;
- t->ictx.last_saved_uid = next_uid - 1;
+ *t->ictx.first_saved_uid = first_uid;
+ *t->ictx.last_saved_uid = next_uid - 1;
}
flags = MAILDIR_UIDLIST_REC_FLAG_NEW_DIR |
More information about the dovecot-cvs
mailing list