From: Thomas Roessler Date: Fri, 16 Feb 2001 00:41:01 +0000 (+0000) Subject: Support for \HasNoChildren. From Brendan Cully. X-Git-Tag: mutt-1-3-16-rel~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3262680f6c077294bc8faad8df4cc8be0f3f284b;p=mutt Support for \HasNoChildren. From Brendan Cully. --- 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++;