1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 11:42:16 -05:00

Off-by-one error in the recent IMAP fetch work :/

This commit is contained in:
Jesse Vincent 2010-08-12 02:21:56 +00:00
parent e43297cd8b
commit ece68bae5d

View File

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