]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
QRESYNC: Fixed fallback handling to fetching expunged UIDs.
authorTimo Sirainen <tss@iki.fi>
Sat, 10 Oct 2009 00:33:27 +0000 (20:33 -0400)
committerTimo Sirainen <tss@iki.fi>
Sat, 10 Oct 2009 00:33:27 +0000 (20:33 -0400)
--HG--
branch : HEAD

src/imap/imap-fetch.c

index eb2a297b8a579c6f47df659a9c3ac7ef30420e81..71548b0c2062191b160576bb6ac6df48401d9ee8 100644 (file)
@@ -204,7 +204,7 @@ static int get_expunges_fallback(struct imap_fetch_context *ctx,
                        if (next_uid < uid_filter[i].seq2)
                                next_uid++;
                        else if (++i < count)
-                               next_uid = uid_filter[++i].seq1;
+                               next_uid = uid_filter[i].seq1;
                        else
                                break;
                } else {