dovecot-2.2: lib-lda: After auto-creating mailbox only open it, ...

dovecot at dovecot.org dovecot at dovecot.org
Sat Sep 22 19:23:23 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/4776fbf6d93a
changeset: 15093:4776fbf6d93a
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Sep 22 19:23:15 2012 +0300
description:
lib-lda: After auto-creating mailbox only open it, don't bother syncing it.

diffstat:

 src/lib-lda/mail-deliver.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c5926a27fa2d -r 4776fbf6d93a src/lib-lda/mail-deliver.c
--- a/src/lib-lda/mail-deliver.c	Sat Sep 22 19:21:58 2012 +0300
+++ b/src/lib-lda/mail-deliver.c	Sat Sep 22 19:23:15 2012 +0300
@@ -205,7 +205,7 @@
 	}
 
 	/* and try opening again */
-	if (mailbox_sync(box, 0) < 0) {
+	if (mailbox_open(box) < 0) {
 		*error_str_r = mailbox_get_last_error(box, error_r);
 		return -1;
 	}


More information about the dovecot-cvs mailing list