Mercurial > dovecot > core-2.2
changeset 4586:1b8b9516bc28 HEAD
Rename was a bit broken if the new name began with the old name
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 23 Aug 2006 22:43:44 +0300 |
parents | 26bbf71e9b5e |
children | 65bedef534ea |
files | src/lib-storage/index/maildir/maildir-storage.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/maildir/maildir-storage.c Wed Aug 23 13:39:42 2006 +0300 +++ b/src/lib-storage/index/maildir/maildir-storage.c Wed Aug 23 22:43:44 2006 +0300 @@ -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;