dovecot-1.2: QRESYNC: We could have sent VANISHED with UID 0.
dovecot at dovecot.org
dovecot at dovecot.org
Tue Jun 17 04:51:52 EEST 2008
details: http://hg.dovecot.org/dovecot-1.2/rev/dbfa021f8985
changeset: 7840:dbfa021f8985
user: Timo Sirainen <tss at iki.fi>
date: Tue Jun 17 04:47:17 2008 +0300
description:
QRESYNC: We could have sent VANISHED with UID 0.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/imap/imap-sync.c | 2 +-
diffs (12 lines):
diff -r d076e1758c6a -r dbfa021f8985 src/imap/imap-sync.c
--- a/src/imap/imap-sync.c Fri Jun 13 03:29:40 2008 +0300
+++ b/src/imap/imap-sync.c Tue Jun 17 04:47:17 2008 +0300
@@ -331,7 +331,7 @@ static void imap_sync_vanished(struct im
line = t_str_new(256);
str_append(line, "* VANISHED ");
for (i = 0; i < count; i++) {
- prev_uid = start_uid = 0;
+ start_uid = 0; prev_uid = (uint32_t)-1;
for (seq = seqs[i].seq1; seq <= seqs[i].seq2; seq++) {
mail_set_seq(ctx->mail, seq);
if (prev_uid + 1 != ctx->mail->uid) {
More information about the dovecot-cvs
mailing list