1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-24 08:38:51 -05:00

Fix bug with partitioning of IMAP FETCH commands

This commit is contained in:
cketti 2011-02-21 21:07:56 +01:00
parent 1455b8fbb8
commit 397d01d513

View File

@ -1103,7 +1103,7 @@ public class ImapStore extends Store {
for (int windowStart = 0; windowStart <= messages.length; windowStart += (FETCH_WINDOW_SIZE)) {
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));
try {