dovecot: Fix to subscribing namespaces.
dovecot at dovecot.org
dovecot at dovecot.org
Sat Nov 10 20:54:29 EET 2007
details: http://hg.dovecot.org/dovecot/rev/ba74249c79f0
changeset: 6762:ba74249c79f0
user: Timo Sirainen <tss at iki.fi>
date: Sat Nov 10 20:54:26 2007 +0200
description:
Fix to subscribing namespaces.
diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
src/imap/cmd-subscribe.c | 3 ++-
diffs (13 lines):
diff -r d0a2e137f044 -r ba74249c79f0 src/imap/cmd-subscribe.c
--- a/src/imap/cmd-subscribe.c Sat Nov 10 19:54:44 2007 +0200
+++ b/src/imap/cmd-subscribe.c Sat Nov 10 20:54:26 2007 +0200
@@ -52,7 +52,8 @@ bool cmd_subscribe_full(struct client_co
verify_name = t_strndup(verify_name, strlen(verify_name)-1);
}
- if (have_listable_namespace_prefix(cmd->client->namespaces, mailbox)) {
+ if (have_listable_namespace_prefix(cmd->client->namespaces,
+ verify_name)) {
/* subscribing to a listable namespace prefix, allow it. */
} else {
if (!client_verify_mailbox_name(cmd, verify_name,
More information about the dovecot-cvs
mailing list