Mercurial > dovecot > original-hg > dovecot-1.2
changeset 9357:56e619176787 HEAD
imap: Some text is required after resp-text-codes (HIGHESTMODSEQ/CLOSED).
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 06 Sep 2009 17:19:00 -0400 |
parents | 7639914c5cde |
children | dc66872f1856 |
files | src/imap/client.c src/imap/cmd-select.c src/imap/imap-sync.c |
diffstat | 3 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/client.c Fri Sep 04 15:49:48 2009 -0400 +++ b/src/imap/client.c Sun Sep 06 17:19:00 2009 -0400 @@ -878,7 +878,7 @@ 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)); } }
--- a/src/imap/cmd-select.c Fri Sep 04 15:49:48 2009 -0400 +++ b/src/imap/cmd-select.c Sun Sep 06 17:19:00 2009 -0400 @@ -311,7 +311,7 @@ "* 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; } @@ -369,7 +369,8 @@ if (mailbox_close(&box) < 0) client_send_untagged_storage_error(client, old_storage); /* CLOSED response is required by QRESYNC */ - client_send_line(client, "* OK [CLOSED]"); + client_send_line(client, + "* OK [CLOSED] Previous mailbox closed."); } if (ctx->condstore) {
--- a/src/imap/imap-sync.c Fri Sep 04 15:49:48 2009 -0400 +++ b/src/imap/imap-sync.c Sun Sep 06 17:19:00 2009 -0400 @@ -199,7 +199,7 @@ } 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)); }