[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-storage.c, 1.125, 1.126

cras at dovecot.org cras at dovecot.org
Wed Aug 23 22:43:46 EEST 2006


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

Modified Files:
	maildir-storage.c 
Log Message:
Rename was a bit broken if the new name began with the old name



Index: maildir-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/maildir/maildir-storage.c,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -d -r1.125 -r1.126
--- maildir-storage.c	10 Aug 2006 20:36:07 -0000	1.125
+++ maildir-storage.c	23 Aug 2006 19:43:44 -0000	1.126
@@ -800,7 +800,8 @@
 	   other processes though. */
 	pool = pool_alloconly_create("Maildir subfolders list", 1024);
 	ARRAY_CREATE(&names_arr, default_pool, const char *, 64);
-	ctx = maildir_mailbox_list_init(&storage->storage, oldname, "*",
+	ctx = maildir_mailbox_list_init(&storage->storage, oldname,
+					/*MAILDIR_FS_SEP_S*/"*",
 					MAILBOX_LIST_FAST_FLAGS);
 	while ((list = maildir_mailbox_list_next(ctx)) != NULL) {
 		const char *name;



More information about the dovecot-cvs mailing list