Fix bug with partitioning of IMAP FETCH commands
This commit is contained in:
parent
1455b8fbb8
commit
397d01d513
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue