diff src/lib-storage/index/dbox-single/sdbox-storage.c @ 12597:a349c50cddaa

dbox: mailbox_create/update() might not have updated index header correctly.
author Timo Sirainen <tss@iki.fi>
date Mon, 24 Jan 2011 00:31:05 +0200
parents a2780b694b2d
children 87f84a76fb1e
line wrap: on
line diff
--- a/src/lib-storage/index/dbox-single/sdbox-storage.c	Mon Jan 24 00:00:02 2011 +0200
+++ b/src/lib-storage/index/dbox-single/sdbox-storage.c	Mon Jan 24 00:31:05 2011 +0200
@@ -321,7 +321,7 @@
 dbox_mailbox_update(struct mailbox *box, const struct mailbox_update *update)
 {
 	if (!box->opened) {
-		if (index_storage_mailbox_open(box, FALSE) < 0)
+		if (mailbox_open(box) < 0)
 			return -1;
 	}
 	if (update->cache_fields != NULL)