Mercurial > dovecot > original-hg > dovecot-1.2
changeset 7808:9185f2adeefb HEAD
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.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 10 Jun 2008 22:06:26 +0300 |
parents | 8704bd29617b |
children | a5bbb3abeff8 |
files | src/imap/cmd-list.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/cmd-list.c Tue Jun 10 20:28:48 2008 +0300 +++ b/src/imap/cmd-list.c Tue Jun 10 22:06:26 2008 +0300 @@ -149,7 +149,7 @@ 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,