dovecot-2.0: mdbox: Don't assert-crash when having to open mail ...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Nov 22 00:12:30 EET 2011
details: http://hg.dovecot.org/dovecot-2.0/rev/26f503adf42d
changeset: 12990:26f503adf42d
user: Timo Sirainen <tss at iki.fi>
date: Tue Nov 22 00:12:17 2011 +0200
description:
mdbox: Don't assert-crash when having to open mail file during specific copying situations.
diffstat:
src/lib-storage/index/dbox-multi/mdbox-save.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r f02465f112aa -r 26f503adf42d src/lib-storage/index/dbox-multi/mdbox-save.c
--- 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:17 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);
More information about the dovecot-cvs
mailing list