Mercurial > dovecot > core-2.2
changeset 13744:8132fb8ee3eb
mdbox: Don't assert-crash when having to open mail file during specific copying situations.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 22 Nov 2011 00:12:53 +0200 |
parents | 5bc3ea6ebbed |
children | da07002ca0d4 |
files | src/lib-storage/index/dbox-multi/mdbox-save.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/dbox-multi/mdbox-save.c Mon Nov 21 23:26:46 2011 +0200 +++ b/src/lib-storage/index/dbox-multi/mdbox-save.c Tue Nov 22 00:12:53 2011 +0200 @@ -58,7 +58,7 @@ rec = data; if (mdbox_map_lookup(ctx->mbox->storage->map, rec->map_uid, - &file_id, offset_r) <= 0) + &file_id, offset_r) < 0) i_unreached(); return mdbox_file_init(ctx->mbox->storage, file_id);