dovecot-2.0: imap: Some text is required after resp-text-codes (...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Sep 7 00:20:18 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/38fbf201824c
changeset: 9884:38fbf201824c
user: Timo Sirainen <tss at iki.fi>
date: Sun Sep 06 17:20:04 2009 -0400
description:
imap: Some text is required after resp-text-codes (HIGHESTMODSEQ/CLOSED).
diffstat:
3 files changed, 5 insertions(+), 4 deletions(-)
src/imap/cmd-select.c | 5 +++--
src/imap/imap-client.c | 2 +-
src/imap/imap-sync.c | 2 +-
diffs (46 lines):
diff -r 87fed6f0bbfe -r 38fbf201824c src/imap/cmd-select.c
--- a/src/imap/cmd-select.c Sun Sep 06 16:09:30 2009 -0400
+++ b/src/imap/cmd-select.c Sun Sep 06 17:20:04 2009 -0400
@@ -321,7 +321,7 @@ select_open(struct imap_select_context *
"* OK [NOMODSEQ] No permanent modsequences");
} else {
client_send_line(client,
- t_strdup_printf("* OK [HIGHESTMODSEQ %llu]",
+ t_strdup_printf("* OK [HIGHESTMODSEQ %llu] Highest",
(unsigned long long)status.highest_modseq));
client->sync_last_full_modseq = status.highest_modseq;
}
@@ -379,7 +379,8 @@ bool cmd_select_full(struct client_comma
mailbox_close(&box);
/* CLOSED response is required by QRESYNC */
- client_send_line(client, "* OK [CLOSED]");
+ client_send_line(client,
+ "* OK [CLOSED] Previous mailbox closed.");
}
if (ctx->condstore) {
diff -r 87fed6f0bbfe -r 38fbf201824c src/imap/imap-client.c
--- a/src/imap/imap-client.c Sun Sep 06 16:09:30 2009 -0400
+++ b/src/imap/imap-client.c Sun Sep 06 17:20:04 2009 -0400
@@ -900,7 +900,7 @@ void client_enable(struct client *client
mailbox_get_status(client->mailbox,
STATUS_HIGHESTMODSEQ, &status);
client_send_line(client, t_strdup_printf(
- "* OK [HIGHESTMODSEQ %llu]",
+ "* OK [HIGHESTMODSEQ %llu] Highest",
(unsigned long long)status.highest_modseq));
}
}
diff -r 87fed6f0bbfe -r 38fbf201824c src/imap/imap-sync.c
--- a/src/imap/imap-sync.c Sun Sep 06 16:09:30 2009 -0400
+++ b/src/imap/imap-sync.c Sun Sep 06 17:20:04 2009 -0400
@@ -199,7 +199,7 @@ imap_sync_send_highestmodseq(struct imap
} else {
/* send an untagged OK reply */
client_send_line(client, t_strdup_printf(
- "* OK [HIGHESTMODSEQ %llu]",
+ "* OK [HIGHESTMODSEQ %llu] Highest",
(unsigned long long)send_modseq));
}
More information about the dovecot-cvs
mailing list