[dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-save.c, 1.23, 1.24

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


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

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



Index: dbox-save.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/dbox/dbox-save.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- dbox-save.c	17 Apr 2007 16:40:57 -0000	1.23
+++ dbox-save.c	17 Apr 2007 17:18:00 -0000	1.24
@@ -346,8 +346,8 @@
 	}
 	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;
 
 	/* update UIDs */
 	for (seq = t->first_saved_mail_seq; seq <= ctx->seq; seq++, uid++) {



More information about the dovecot-cvs mailing list