dovecot-1.2: qresync: Fixed off-by-one modseq comparison when fi...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Aug 28 22:25:37 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/e0cee10e0f41
changeset: 9346:e0cee10e0f41
user: Timo Sirainen <tss at iki.fi>
date: Fri Aug 28 15:24:57 2009 -0400
description:
qresync: Fixed off-by-one modseq comparison when figuring out what VANISHED replies to send.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/imap/imap-fetch.c | 2 +-
diffs (12 lines):
diff -r 5b121790eb3a -r e0cee10e0f41 src/imap/imap-fetch.c
--- a/src/imap/imap-fetch.c Fri Aug 28 15:21:51 2009 -0400
+++ b/src/imap/imap-fetch.c Fri Aug 28 15:24:57 2009 -0400
@@ -273,7 +273,7 @@ imap_fetch_send_vanished(struct imap_fet
const struct mail_search_arg *uidarg = ctx->search_args->args;
const struct mail_search_arg *modseqarg = uidarg->next;
const ARRAY_TYPE(seq_range) *uids = &uidarg->value.seqset;
- uint64_t modseq = modseqarg->value.modseq->modseq;
+ uint64_t modseq = modseqarg->value.modseq->modseq - 1;
ARRAY_TYPE(seq_range) expunges;
string_t *str;
int ret = 0;
More information about the dovecot-cvs
mailing list