changeset 15152:f818f65f1a7f

lib-lda: After auto-creating mailbox only open it, don't bother syncing it.
author Timo Sirainen <tss@iki.fi>
date Sat, 22 Sep 2012 19:23:15 +0300
parents c83c70edef35
children fd863826c892
files src/lib-lda/mail-deliver.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-lda/mail-deliver.c	Fri Sep 21 11:44:17 2012 +0200
+++ 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;
 	}