summaryrefslogtreecommitdiffstats
path: root/imap
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2001-02-16 00:41:01 +0000
committerThomas Roessler <roessler@does-not-exist.org>2001-02-16 00:41:01 +0000
commit3262680f6c077294bc8faad8df4cc8be0f3f284b (patch)
tree898a55b2252da8ac86a52018a9589feffeb2bad1 /imap
parent9bfbb6b1f09b1ebe255a2f66022d6b3fa9a07aaf (diff)
Support for \HasNoChildren. From Brendan Cully.
Diffstat (limited to 'imap')
-rw-r--r--imap/imap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/imap/imap.c b/imap/imap.c
index ba9d2013..3d8437d1 100644
--- a/imap/imap.c
+++ b/imap/imap.c
@@ -1167,6 +1167,9 @@ int imap_parse_list_response(IMAP_DATA* idata, char **name, int *noselect,
*noselect = 1;
if (!strncasecmp (s, "\\NoInferiors", 12))
*noinferiors = 1;
+ /* See draft-gahrns-imap-child-mailbox-?? */
+ if (!strncasecmp (s, "\\HasNoChildren", 14))
+ *noinferiors = 1;
if (*s != ')')
s++;
while (*s && *s != '\\' && *s != ')') s++;