Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8274:242e6d47f790 HEAD
FETCH MODSEQ (n) was missing parenthesis.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 15 Oct 2008 16:45:04 +0300 |
parents | 40df4d4cced0 |
children | 0a8320a714b5 |
files | src/imap/imap-fetch.c src/imap/imap-sync.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/imap-fetch.c Tue Oct 14 14:52:44 2008 +0300 +++ b/src/imap/imap-fetch.c Wed Oct 15 16:45:04 2008 +0300 @@ -749,7 +749,7 @@ modseq = mail_get_modseq(mail); if (ctx->client->highest_fetch_modseq < modseq) ctx->client->highest_fetch_modseq = modseq; - str_printfa(ctx->cur_str, "MODSEQ %llu ", + str_printfa(ctx->cur_str, "MODSEQ (%llu) ", (unsigned long long)modseq); return 1; }
--- a/src/imap/imap-sync.c Tue Oct 14 14:52:44 2008 +0300 +++ b/src/imap/imap-sync.c Wed Oct 15 16:45:04 2008 +0300 @@ -271,7 +271,7 @@ modseq = mail_get_modseq(ctx->mail); if (ctx->client->highest_fetch_modseq < modseq) ctx->client->highest_fetch_modseq = modseq; - str_printfa(str, "MODSEQ %llu", (unsigned long long)modseq); + str_printfa(str, "MODSEQ (%llu)", (unsigned long long)modseq); } static int imap_sync_send_flags(struct imap_sync_context *ctx, string_t *str)