Fix for the "K9 skips every 101st message when fetching on IMAP" bug by

e-t172 <e-t172@akegroup.org>. Fixes Issue 2819
This commit is contained in:
Jesse Vincent 2010-12-30 23:59:41 +00:00
parent e8151cb22e
commit 4cd3547e10
1 changed files with 1 additions and 1 deletions

View File

@ -1206,7 +1206,7 @@ public class ImapStore extends Store
for (int windowStart=0; windowStart <= messages.length; windowStart += (FETCH_WINDOW_SIZE +1))
for (int windowStart=0; windowStart <= messages.length; windowStart += (FETCH_WINDOW_SIZE))
{
List<String> uidWindow = uids.subList(windowStart, Math.min((windowStart+FETCH_WINDOW_SIZE),messages.length));