1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 03:02:22 -05:00

IMAP: another message range fix

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@321 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-02-03 17:21:55 +00:00
parent 92b49f65b3
commit 5e0a589542

View File

@ -226,7 +226,7 @@ public class ImapConnection extends AbstractConnection {
endIndex = 1;
}
} else {
endIndex = Long.parseLong(messageParameter.substring(Math.max(colonIndex, messageParameter.lastIndexOf(",") + 1)));
endIndex = Long.parseLong(messageParameter.substring(Math.max(colonIndex, messageParameter.lastIndexOf(",")) + 1));
}
}
if ("1:*".equals(messageParameter)) {