From 26911c5c36ddd6d793441969cfd129c1f6f648af Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 10 Jun 2008 22:06:26 +0300 Subject: [PATCH] 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 --- src/imap/cmd-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.47.3