Mercurial > dovecot > core-2.2
changeset 13131:01d43e0b2420
mdbox: Minor code cleanup.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 28 Jun 2011 02:23:10 +0300 |
parents | 028b953e7040 |
children | 0535d79ea686 |
files | src/lib-storage/index/dbox-multi/mdbox-mail.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/dbox-multi/mdbox-mail.c Tue Jun 28 02:22:58 2011 +0300 +++ b/src/lib-storage/index/dbox-multi/mdbox-mail.c Tue Jun 28 02:23:10 2011 +0300 @@ -35,10 +35,8 @@ } 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)