mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 11:12:22 -05:00
IMAP: another message range fix
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@319 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
fb414a9955
commit
25861371db
@ -228,7 +228,7 @@ public class ImapConnection extends AbstractConnection {
|
|||||||
endIndex = 1;
|
endIndex = 1;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
endIndex = Long.parseLong(messageParameter.substring(colonIndex + 1));
|
endIndex = Long.parseLong(messageParameter.substring(Math.max(colonIndex, messageParameter.lastIndexOf(",") + 1)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ("1:*".equals(messageParameter)) {
|
if ("1:*".equals(messageParameter)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user