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
1 changed files with 1 additions and 1 deletions

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));