mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-24 08:38:51 -05:00
Fix potential index issues when less than 10 emails are in the folder when fetching messages in WebDavStore.
This commit is contained in:
parent
7a5b4d27e1
commit
da46773f74
@ -992,6 +992,10 @@ public class WebDavStore extends Store {
|
||||
throw new MessagingException(String.format("Invalid message set %d %d", start, end));
|
||||
}
|
||||
|
||||
if (start == 0 && end < 10) {
|
||||
end = 10;
|
||||
}
|
||||
|
||||
/** Verify authentication */
|
||||
messageBody = getMessagesXml();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user