]> granicus.if.org Git - mutt/commitdiff
Support for \HasNoChildren. From Brendan Cully.
authorThomas Roessler <roessler@does-not-exist.org>
Fri, 16 Feb 2001 00:41:01 +0000 (00:41 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Fri, 16 Feb 2001 00:41:01 +0000 (00:41 +0000)
imap/imap.c

index ba9d20136d7c2808c953975d415f40a87fe9ddfa..3d8437d162159bd00536087bc0c88014b535d611 100644 (file)
@@ -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++;