# HG changeset patch # User Timo Sirainen # Date 1224078304 -10800 # Node ID 242e6d47f790d867f168704dc46083a075950399 # Parent 40df4d4cced09fa72d37581d0c526416d2c6e3de FETCH MODSEQ (n) was missing parenthesis. diff -r 40df4d4cced0 -r 242e6d47f790 src/imap/imap-fetch.c --- 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; } diff -r 40df4d4cced0 -r 242e6d47f790 src/imap/imap-sync.c --- 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)