[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-transaction.c, 1.17, 1.18
tss at dovecot.org
tss at dovecot.org
Tue Apr 17 19:03:50 EEST 2007
Update of /var/lib/cvs/dovecot/src/lib-storage/index/maildir
In directory talvi:/tmp/cvs-serv31536/lib-storage/index/maildir
Modified Files:
maildir-transaction.c
Log Message:
Map mailbox to mail_index_view, not to mail_index. Fixes crashes when the
same mailbox was opened multiple times.
Index: maildir-transaction.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/maildir/maildir-transaction.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- maildir-transaction.c 30 Mar 2007 19:08:12 -0000 1.17
+++ maildir-transaction.c 17 Apr 2007 16:03:48 -0000 1.18
@@ -57,7 +57,7 @@
static void maildir_transaction_created(struct mail_index_transaction *t)
{
- struct mailbox *box = MAIL_STORAGE_CONTEXT(t->view->index);
+ struct mailbox *box = MAIL_STORAGE_CONTEXT(t->view);
/* index can be for mailbox list index, in which case box=NULL */
if (box != NULL &&
More information about the dovecot-cvs
mailing list