]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
LIST: Renamed X-STATUS return option to STATUS, since the first draft of the
authorTimo Sirainen <tss@iki.fi>
Tue, 10 Jun 2008 19:06:26 +0000 (22:06 +0300)
committerTimo Sirainen <tss@iki.fi>
Tue, 10 Jun 2008 19:06:26 +0000 (22:06 +0300)
standard was released now. The capability isn't added yet though.

--HG--
branch : HEAD

src/imap/cmd-list.c

index f08fdb7a4b207a626b41e89807cacd3f386ebcbf..877792bd0d329878b8f04ea63cc5812c2698bdd9 100644 (file)
@@ -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,