Mercurial > dovecot > core-2.2
changeset 12895:5f0ed47db523
mdbox: Fixed storage rebuild
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 30 Apr 2011 14:54:16 +0300 |
parents | efc0eea75258 |
children | a8fe529ea72b |
files | src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c Sat Apr 30 14:20:30 2011 +0300 +++ b/src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c Sat Apr 30 14:54:16 2011 +0300 @@ -502,7 +502,7 @@ MAILBOX_FLAG_KEEP_RECENT | MAILBOX_FLAG_IGNORE_ACLS); i_assert(box->storage == &ctx->storage->storage.storage); - if (dbox_mailbox_open(box) < 0) { + if (mailbox_open(box) < 0) { error = mailbox_get_last_mail_error(box); mailbox_free(&box); if (error == MAIL_ERROR_TEMP) @@ -645,7 +645,7 @@ MAILBOX_FLAG_KEEP_RECENT | MAILBOX_FLAG_IGNORE_ACLS); i_assert(box->storage == storage); - if (dbox_mailbox_open(box) == 0) + if (mailbox_open(box) == 0) break; error = mailbox_get_last_mail_error(box);