dovecot-2.1: imapc: Removed HIGHESTMODSEQ handling from STATUS c...

dovecot at dovecot.org dovecot at dovecot.org
Mon Dec 12 08:43:20 EET 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/6fb8b5bd2541
changeset: 13851:6fb8b5bd2541
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Dec 12 08:43:04 2011 +0200
description:
imapc: Removed HIGHESTMODSEQ handling from STATUS command.
We don't currently even attempt to handle remote modseqs, so HIGHESTMODSEQ
shouldn't be used either.

diffstat:

 src/lib-storage/index/imapc/imapc-storage.c |  4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diffs (21 lines):

diff -r 672f2737f596 -r 6fb8b5bd2541 src/lib-storage/index/imapc/imapc-storage.c
--- a/src/lib-storage/index/imapc/imapc-storage.c	Mon Dec 12 07:04:46 2011 +0200
+++ b/src/lib-storage/index/imapc/imapc-storage.c	Mon Dec 12 08:43:04 2011 +0200
@@ -565,8 +565,6 @@
 			status->uidvalidity = num;
 		else if (strcasecmp(key, "UNSEEN") == 0)
 			status->unseen = num;
-		else if (strcasecmp(key, "HIGHESTMODSEQ") == 0)
-			status->highest_modseq = num;
 	}
 }
 
@@ -616,8 +614,6 @@
 		str_append(str, " UIDVALIDITY");
 	if ((items & STATUS_UNSEEN) != 0)
 		str_append(str, " UNSEEN");
-	if ((items & STATUS_HIGHESTMODSEQ) != 0)
-		str_append(str, " HIGHESTMODSEQ");
 
 	if (str_len(str) == 0) {
 		/* nothing requested */


More information about the dovecot-cvs mailing list