[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dovecot-cvs
Subject:    dovecot: If syncing failed when closing mailbox, we didn't retur...
From:       dovecot () dovecot ! org (dovecot at dovecot ! org)
Date:       2007-08-31 21:36:06
Message-ID: hg.e6d16b1b5e81.1188596166.558208662 () syksy ! dovecot ! org
[Download RAW message or body]

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)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic