diff src/lda/main.c @ 10509:50364f04cf13 HEAD

lib-storage: Changed mailbox_sync() and mailbox_sync_deinit() APIs. Although we're already in beta stage, this is simple enough of a change that it shouldn't matter much. Having syncing also return status information made the API ugly and the status information wasn't even wanted all that often.
author Timo Sirainen <tss@iki.fi>
date Wed, 16 Dec 2009 19:27:57 -0500
parents 28a14e2fe5d6
children 615eef3139c2
line wrap: on
line diff
--- a/src/lda/main.c	Wed Dec 16 18:18:02 2009 -0500
+++ b/src/lda/main.c	Wed Dec 16 19:27:57 2009 -0500
@@ -416,7 +416,7 @@
 		i_fatal("Can't open delivery mail as raw: %s",
 			mail_storage_get_last_error(box->storage, &error));
 	}
-	if (mailbox_sync(box, 0, 0, NULL) < 0) {
+	if (mailbox_sync(box, 0) < 0) {
 		i_fatal("Can't sync delivery mail: %s",
 			mail_storage_get_last_error(box->storage, &error));
 	}