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

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


details:   http://hg.dovecot.org/dovecot-2.0/rev/c06b7c5f2c8c
changeset: 9748:c06b7c5f2c8c
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 de0bd8eeaad9 -r c06b7c5f2c8c 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
@@ -152,7 +152,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->list, box->name,
 					    MAILBOX_LIST_PATH_TYPE_CONTROL);


More information about the dovecot-cvs mailing list