1
0
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:
Matthew Brace 2009-02-09 01:50:31 +00:00
parent 7a5b4d27e1
commit da46773f74

View File

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