[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-storage.c, 1.167, 1.168

tss at dovecot.org tss at dovecot.org
Thu Mar 22 17:59:22 EET 2007


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

Modified Files:
	mbox-storage.c 
Log Message:
~ in mbox root path wasn't expanded early enough



Index: mbox-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-storage.c,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -d -r1.167 -r1.168
--- mbox-storage.c	11 Mar 2007 18:16:45 -0000	1.167
+++ mbox-storage.c	22 Mar 2007 15:59:20 -0000	1.168
@@ -349,6 +349,7 @@
 			list_set->root_dir =
 				t_strndup(list_set->root_dir, len-1);
 		}
+		list_set->root_dir = home_expand(list_set->root_dir);
 
 		/* make sure the directory exists */
 		if (*list_set->root_dir == '\0' ||



More information about the dovecot-cvs mailing list