[dovecot-cvs] dovecot/src/lib-storage/index/cydir cydir-save.c, 1.4, 1.5

tss at dovecot.org tss at dovecot.org
Tue Apr 17 20:18:01 EEST 2007


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

Modified Files:
	cydir-save.c 
Log Message:
Fixed mailbox_transaction_commit_get_uids() to actually work and not just
crash.



Index: cydir-save.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/cydir/cydir-save.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- cydir-save.c	17 Apr 2007 16:40:56 -0000	1.4
+++ cydir-save.c	17 Apr 2007 17:17:59 -0000	1.5
@@ -186,8 +186,8 @@
 	uid = hdr->next_uid;
 	mail_index_append_assign_uids(ctx->trans, uid, &next_uid);
 
-	t->ictx.first_saved_uid = uid;
-	t->ictx.last_saved_uid = next_uid - 1;
+	*t->ictx.first_saved_uid = uid;
+	*t->ictx.last_saved_uid = next_uid - 1;
 
 	dir = mailbox_list_get_path(ctx->mbox->storage->storage.list,
 				    ctx->mbox->ibox.box.name,



More information about the dovecot-cvs mailing list