dovecot-2.0: imap: CONTEXT search return option wasn't handled a...

dovecot at dovecot.org dovecot at dovecot.org
Sat Jan 28 23:59:25 EET 2012


details:   http://hg.dovecot.org/dovecot-2.0/rev/fd16e200f0f7
changeset: 13033:fd16e200f0f7
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Jan 28 23:58:50 2012 +0200
description:
imap: CONTEXT search return option wasn't handled at all.

diffstat:

 src/imap/imap-search.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 4e7676b890f1 -r fd16e200f0f7 src/imap/imap-search.c
--- a/src/imap/imap-search.c	Sat Jan 28 22:05:52 2012 +0200
+++ b/src/imap/imap-search.c	Sat Jan 28 23:58:50 2012 +0200
@@ -65,7 +65,9 @@
 			ctx->return_options |= SEARCH_RETURN_COUNT;
 		else if (strcmp(name, "SAVE") == 0)
 			ctx->return_options |= SEARCH_RETURN_SAVE;
-		else if (strcmp(name, "UPDATE") == 0)
+		else if (strcmp(name, "CONTEXT") == 0) {
+			/* no-op */
+		} else if (strcmp(name, "UPDATE") == 0)
 			ctx->return_options |= SEARCH_RETURN_UPDATE;
 		else if (strcmp(name, "PARTIAL") == 0) {
 			if (ctx->partial1 != 0) {


More information about the dovecot-cvs mailing list