Mercurial > dovecot > original-hg > dovecot-1.2
changeset 6334:e6d16b1b5e81 HEAD
If syncing failed when closing mailbox, we didn't return error as we should
have.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 31 Aug 2007 21:26:53 +0300 |
parents | d815c115ade6 |
children | a1c587d3d633 |
files | src/lib-storage/index/mbox/mbox-storage.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ 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)