dovecot: If syncing failed when closing mailbox, we didn't retur...
dovecot at dovecot.org
dovecot at dovecot.org
Sat Sep 1 00:36:06 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/e6d16b1b5e81
changeset: 6334:e6d16b1b5e81
user: Timo Sirainen <tss at iki.fi>
date: Fri Aug 31 21:26:53 2007 +0300
description:
If syncing failed when closing mailbox, we didn't return error as we should
have.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/index/mbox/mbox-storage.c | 2 +-
diffs (12 lines):
diff -r d815c115ade6 -r e6d16b1b5e81 src/lib-storage/index/mbox/mbox-storage.c
--- a/src/lib-storage/index/mbox/mbox-storage.c Fri Aug 31 20:50:35 2007 +0300
+++ b/src/lib-storage/index/mbox/mbox-storage.c Fri Aug 31 21:26:53 2007 +0300
@@ -749,7 +749,7 @@ static int mbox_storage_mailbox_close(st
if (mbox->mbox_file_stream != NULL)
i_stream_destroy(&mbox->mbox_file_stream);
- return index_storage_mailbox_close(box);
+ return index_storage_mailbox_close(box) < 0 ? -1 : ret;
}
static void mbox_notify_changes(struct mailbox *box)
More information about the dovecot-cvs
mailing list