dovecot-2.2: imap: Enabling SPECIAL-USE selection option should ...
dovecot at dovecot.org
dovecot at dovecot.org
Sun May 20 03:26:30 EEST 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/7f4c35fcae80
changeset: 14404:7f4c35fcae80
user: Timo Sirainen <tss at iki.fi>
date: Mon Apr 02 21:49:05 2012 +0300
description:
imap: Enabling SPECIAL-USE selection option should also enable the same return option.
diffstat:
src/imap/cmd-list.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (17 lines):
diff -r 6a8b78450202 -r 7f4c35fcae80 src/imap/cmd-list.c
--- a/src/imap/cmd-list.c Fri Mar 30 05:20:08 2012 +0300
+++ b/src/imap/cmd-list.c Mon Apr 02 21:49:05 2012 +0300
@@ -115,9 +115,10 @@
MAILBOX_LIST_ITER_RETURN_SUBSCRIBED;
} else if (strcasecmp(str, "RECURSIVEMATCH") == 0)
list_flags |= MAILBOX_LIST_ITER_SELECT_RECURSIVEMATCH;
- else if (strcasecmp(str, "SPECIAL-USE") == 0)
- list_flags |= MAILBOX_LIST_ITER_SELECT_SPECIALUSE;
- else if (strcasecmp(str, "REMOTE") == 0) {
+ else if (strcasecmp(str, "SPECIAL-USE") == 0) {
+ list_flags |= MAILBOX_LIST_ITER_SELECT_SPECIALUSE |
+ MAILBOX_LIST_ITER_RETURN_SPECIALUSE;
+ } else if (strcasecmp(str, "REMOTE") == 0) {
/* not supported, ignore */
} else {
/* skip also optional list value */
More information about the dovecot-cvs
mailing list