Mercurial > dovecot > core-2.2
changeset 12633:1c8cc9bdb141
lib-storage: Fixed mailbox listing with Maildir++ layout
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 02 Feb 2011 01:17:59 +0200 |
parents | 2c599f0eab69 |
children | 431430c43aec |
files | src/lib-storage/list/mailbox-list-maildir-iter.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/list/mailbox-list-maildir-iter.c Wed Feb 02 01:14:57 2011 +0200 +++ b/src/lib-storage/list/mailbox-list-maildir-iter.c Wed Feb 02 01:17:59 2011 +0200 @@ -50,7 +50,8 @@ struct mailbox_node *node; const char *p; unsigned int vname_len = strlen(vname); - bool created, ns_sep = mail_namespace_get_sep(ns); + bool created; + char ns_sep = mail_namespace_get_sep(ns); while ((p = strrchr(vname, ns_sep)) != NULL) { vname = t_strdup_until(vname, p);