Mercurial > dovecot > original-hg > dovecot-1.2
changeset 1906:956232f5706c HEAD
LIST: If reference parameter is given, get the namespace from it.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 06 Jan 2004 08:14:48 +0200 |
parents | 45a656ec68a1 |
children | 190f1d315ce6 |
files | src/imap/cmd-list.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/cmd-list.c Tue Jan 06 08:09:26 2004 +0200 +++ b/src/imap/cmd-list.c Tue Jan 06 08:14:48 2004 +0200 @@ -146,7 +146,7 @@ } /* FIXME: really needs some work.. */ - ns = namespace_find(client->namespaces, mask); + ns = namespace_find(client->namespaces, *ref != '\0' ? ref : mask); if (ns != NULL) storage = ns->storage; else