dovecot-2.1-pigeonhole: lib-sieve: mailbox extension: After crea...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Sun Sep 23 18:09:52 EEST 2012


details:   http://hg.rename-it.nl/dovecot-2.1-pigeonhole/rev/fcd5208ed8b2
changeset: 1653:fcd5208ed8b2
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Sun Sep 23 17:09:26 2012 +0200
description:
lib-sieve: mailbox extension: After creating mailbox only open it, don't bother syncing it.

diffstat:

 src/lib-sieve/plugins/mailbox/tag-mailbox-create.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r d7b06a1be3e1 -r fcd5208ed8b2 src/lib-sieve/plugins/mailbox/tag-mailbox-create.c
--- a/src/lib-sieve/plugins/mailbox/tag-mailbox-create.c	Thu Sep 20 00:57:02 2012 +0200
+++ b/src/lib-sieve/plugins/mailbox/tag-mailbox-create.c	Sun Sep 23 17:09:26 2012 +0200
@@ -156,7 +156,7 @@
 	}
 
 	/* Try opening again */
-	if ( mailbox_sync(trans->box, 0) < 0 ) {
+	if ( mailbox_open(trans->box) < 0 ) {
 		/* Failed definitively */
 		sieve_act_store_get_storage_error(aenv, trans);
 		return FALSE;


More information about the dovecot-cvs mailing list