dovecot-1.2: FETCH MODSEQ (n) was missing parenthesis.

dovecot at dovecot.org dovecot at dovecot.org
Wed Oct 15 16:45:08 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/242e6d47f790
changeset: 8274:242e6d47f790
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Oct 15 16:45:04 2008 +0300
description:
FETCH MODSEQ (n) was missing parenthesis.

diffstat:

2 files changed, 2 insertions(+), 2 deletions(-)
src/imap/imap-fetch.c |    2 +-
src/imap/imap-sync.c  |    2 +-

diffs (24 lines):

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 @@ static int fetch_modseq(struct imap_fetc
 	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 @@ static void imap_sync_add_modseq(struct 
 	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)


More information about the dovecot-cvs mailing list