[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-storage.c,1.49,1.50

cras at procontrol.fi cras at procontrol.fi
Sat May 17 17:09:57 EEST 2003


Update of /home/cvs/dovecot/src/lib-storage/index/mbox
In directory danu:/tmp/cvs-serv6930/lib-storage/index/mbox

Modified Files:
	mbox-storage.c 
Log Message:
Maildir: CONTROL=<dir> in MAIL environment now specifies where to save
.customflags and dovecot-uidlist files. This can be useful if the main
mail directory is under hard quota.



Index: mbox-storage.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/mbox/mbox-storage.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- mbox-storage.c	12 May 2003 05:44:05 -0000	1.49
+++ mbox-storage.c	17 May 2003 13:09:55 -0000	1.50
@@ -358,8 +358,7 @@
 
 	index = index_storage_lookup_ref(index_dir);
 	if (index == NULL) {
-		index = mbox_index_alloc(index_dir, path);
-		index->custom_flags_dir = i_strdup(index_dir);
+		index = mbox_index_alloc(path, index_dir, index_dir);
 		index_storage_add(index);
 	}
 
@@ -724,7 +723,7 @@
 	NULL,
 	NULL,
 	NULL,
-	NULL, NULL,
+	NULL, NULL, NULL,
 
 	0
 };



More information about the dovecot-cvs mailing list