dovecot-1.2: dbox: Don't crash when trying to update migrated ma...

dovecot at dovecot.org dovecot at dovecot.org
Sat Aug 8 00:13:09 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/22119217ab5d
changeset: 9296:22119217ab5d
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Aug 07 17:13:00 2009 -0400
description:
dbox: Don't crash when trying to update migrated maildir's uidlist.
Normally this shouldn't happen though.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/index/maildir/maildir-uidlist.c |    2 +-

diffs (12 lines):

diff -r 4fcb729cfadc -r 22119217ab5d src/lib-storage/index/maildir/maildir-uidlist.c
--- a/src/lib-storage/index/maildir/maildir-uidlist.c	Fri Aug 07 17:06:15 2009 -0400
+++ b/src/lib-storage/index/maildir/maildir-uidlist.c	Fri Aug 07 17:13:00 2009 -0400
@@ -146,7 +146,7 @@ static int maildir_uidlist_lock_timeout(
 		return 1;
 	}
 
-        index_storage_lock_notify_reset(&uidlist->mbox->ibox);
+        index_storage_lock_notify_reset(uidlist->ibox);
 
 	control_dir = mailbox_list_get_path(box->storage->list, box->name,
 					    MAILBOX_LIST_PATH_TYPE_CONTROL);


More information about the dovecot-cvs mailing list