changeset 3732:bdeac77a4127 HEAD

Fixed broken index directory creation change
author Timo Sirainen <tss@iki.fi>
date Tue, 06 Dec 2005 18:58:01 +0200
parents 0a7beabfe332
children 74b27d1e17a4
files src/lib-storage/index/mbox/mbox-storage.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/index/mbox/mbox-storage.c	Tue Dec 06 18:48:20 2005 +0200
+++ b/src/lib-storage/index/mbox/mbox-storage.c	Tue Dec 06 18:58:01 2005 +0200
@@ -539,8 +539,8 @@
 
 	if (index_dir != NULL) {
 		/* make sure the index directories exist */
-		if (create_mbox_index_dirs(storage, "INBOX") < 0)
-			return -1;
+		if (create_mbox_index_dirs(istorage, name) < 0)
+			return NULL;
 	}
 
 	index = index_storage_alloc(index_dir, path, MBOX_INDEX_PREFIX);