[dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-storage.c, 1.10, 1.11

cras at dovecot.org cras at dovecot.org
Wed Apr 12 19:08:15 EEST 2006


Update of /var/lib/cvs/dovecot/src/lib-storage/index/dbox
In directory talvi:/tmp/cvs-serv27639/lib-storage/index/dbox

Modified Files:
	dbox-storage.c 
Log Message:
When creating index directories, create also the Mails directory.



Index: dbox-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/dbox/dbox-storage.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- dbox-storage.c	22 Feb 2006 14:52:13 -0000	1.10
+++ dbox-storage.c	12 Apr 2006 16:08:13 -0000	1.11
@@ -240,7 +240,8 @@
 	if (strcmp(storage->index_dir, storage->dir) == 0)
 		return 0;
 
-	dir = t_strconcat(storage->index_dir, "/", name, NULL);
+	dir = t_strconcat(storage->index_dir, "/", name,
+			  "/"DBOX_MAILDIR_NAME, NULL);
 	if (mkdir_parents(dir, CREATE_MODE) < 0 && errno != EEXIST) {
 		mail_storage_set_critical(&storage->storage,
 					  "mkdir(%s) failed: %m", dir);



More information about the dovecot-cvs mailing list