]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
sdbox: Removed duplicated code.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 17 Oct 2016 09:41:33 +0000 (12:41 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 17 Oct 2016 20:10:50 +0000 (23:10 +0300)
src/lib-storage/index/dbox-single/sdbox-storage.c

index 2dac9a81e9711d8214a917e50d4ccf4472122aa4..cb268cc187a464f66022aec0dec07d8bb146b04a 100644 (file)
@@ -344,11 +344,6 @@ static int sdbox_mailbox_open(struct mailbox *box)
                return 0;
        }
 
-       if (box->creating) {
-               /* wait for mailbox creation to initialize the index */
-               return 0;
-       }
-
        /* get/generate mailbox guid */
        if (sdbox_read_header(mbox, &hdr, FALSE, &need_resize) < 0) {
                /* looks like the mailbox is corrupted */