1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-10 11:35:11 -05:00

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

This commit is contained in:
Jesse Vincent 2010-08-11 05:18:30 +00:00
parent ddbb726e8b
commit e19c78c5eb

View File

@ -1201,7 +1201,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));