From: Timo Sirainen Date: Tue, 10 Jun 2008 19:06:26 +0000 (+0300) Subject: LIST: Renamed X-STATUS return option to STATUS, since the first draft of the X-Git-Tag: 1.2.alpha1~353 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=26911c5c36ddd6d793441969cfd129c1f6f648af;p=thirdparty%2Fdovecot%2Fcore.git LIST: Renamed X-STATUS return option to STATUS, since the first draft of the standard was released now. The capability isn't added yet though. --HG-- branch : HEAD --- diff --git a/src/imap/cmd-list.c b/src/imap/cmd-list.c index f08fdb7a4b..877792bd0d 100644 --- a/src/imap/cmd-list.c +++ b/src/imap/cmd-list.c @@ -149,7 +149,7 @@ parse_return_flags(struct cmd_list_context *ctx, const struct imap_arg *args) list_flags |= MAILBOX_LIST_ITER_RETURN_SUBSCRIBED; else if (strcasecmp(atom, "CHILDREN") == 0) list_flags |= MAILBOX_LIST_ITER_RETURN_CHILDREN; - else if (strcasecmp(atom, "X-STATUS") == 0 && + else if (strcasecmp(atom, "STATUS") == 0 && args[1].type == IMAP_ARG_LIST) { /* FIXME: this should probably be a plugin.. */ if (imap_status_parse_items(ctx->cmd,