]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
mdbox: Minor code cleanup.
authorTimo Sirainen <tss@iki.fi>
Mon, 27 Jun 2011 23:23:10 +0000 (02:23 +0300)
committerTimo Sirainen <tss@iki.fi>
Mon, 27 Jun 2011 23:23:10 +0000 (02:23 +0300)
src/lib-storage/index/dbox-multi/mdbox-mail.c

index 296e9566b8045e4e176ce4d8edb2cdc81b7ea564..03a7b23323bcce343fd0914cd09c5ca16c1092a1 100644 (file)
@@ -35,10 +35,8 @@ int mdbox_mail_lookup(struct mdbox_mailbox *mbox, struct mail_index_view *view,
        }
 
        if (mbox->map_uid_validity == 0) {
-               if (mdbox_read_header(mbox, &hdr) < 0) {
-                       mdbox_storage_set_corrupted(mbox->storage);
+               if (mdbox_read_header(mbox, &hdr) < 0)
                        return -1;
-               }
                mbox->map_uid_validity = hdr.map_uid_validity;
        }
        if (mdbox_map_open_or_create(mbox->storage->map) < 0)