[Dovecot] empty namespace prefix doesn't honor hidden (PATCH)
Geo Carncross
geocar-dovecot at internetconnection.net
Tue Mar 15 18:21:25 EET 2005
diff -u -r1.44 cmd-list.c
--- src/imap/cmd-list.c 5 Feb 2005 18:07:26 -0000 1.44
+++ src/imap/cmd-list.c 15 Mar 2005 16:15:27 -0000
@@ -213,7 +213,7 @@
ctx->inbox && cur_ref == ctx->ref,
ns->sep);
if (*cur_ref != '\0' || *cur_prefix == '\0')
- match = IMAP_MATCH_CHILDREN;
+ match = ns->hidden ? IMAP_MATCH_NO :
IMAP_MATCH_CHILDREN;
else {
len = strlen(cur_prefix);
if (cur_prefix[len-1] == ns->sep)
--
Internet Connection High Quality Web Hosting
http://www.internetconnection.net/
More information about the dovecot
mailing list