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

dovecot at dovecot.org dovecot at dovecot.org
Sat Jan 28 23:58:56 EET 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/7a1e2cb5c13c
changeset: 14028:7a1e2cb5c13c
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 bde005e302e0 -r 7a1e2cb5c13c src/imap/imap-search.c
--- a/src/imap/imap-search.c	Sat Jan 28 23:46:49 2012 +0200
+++ b/src/imap/imap-search.c	Sat Jan 28 23:58:50 2012 +0200
@@ -67,7 +67,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, "RELEVANCY") == 0)
 			ctx->return_options |= SEARCH_RETURN_RELEVANCY;


More information about the dovecot-cvs mailing list