]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
FETCH MODSEQ (n) was missing parenthesis.
authorTimo Sirainen <tss@iki.fi>
Wed, 15 Oct 2008 13:45:04 +0000 (16:45 +0300)
committerTimo Sirainen <tss@iki.fi>
Wed, 15 Oct 2008 13:45:04 +0000 (16:45 +0300)
--HG--
branch : HEAD

src/imap/imap-fetch.c
src/imap/imap-sync.c

index a1d204b35df5f3d78e6b491d4bc27ed8925ecac1..51e8c109203ca989bb1c55f8729ee7a0e0f3fb61 100644 (file)
@@ -749,7 +749,7 @@ static int fetch_modseq(struct imap_fetch_context *ctx, struct mail *mail,
        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;
 }
index ab84f9d86f9ee77b5b211fd1d02864c3ad2d3e05..0b509fa5ae0870075a80cd512bc0dae9ebd72173 100644 (file)
@@ -271,7 +271,7 @@ static void imap_sync_add_modseq(struct imap_sync_context *ctx, string_t *str)
        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)