diff src/lib-storage/index/dbox-common/dbox-storage.c @ 12710:42ca32299617

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 ed94f6d615ef
children baa0314ed610 44d0474a451e
line wrap: on
line diff
--- a/src/lib-storage/index/dbox-common/dbox-storage.c	Fri Jan 21 21:46:24 2011 +0200
+++ b/src/lib-storage/index/dbox-common/dbox-storage.c	Mon Jan 24 00:31:05 2011 +0200
@@ -176,7 +176,7 @@
 	    (box->list->props & MAILBOX_LIST_PROP_NO_NOSELECT) == 0)
 		return 0;
 
-	if (index_storage_mailbox_open(box, FALSE) < 0)
+	if (mailbox_open(box) < 0)
 		return -1;
 
 	/* if alt path already exists and contains files, rebuild storage so