IMAP: Limit UIDs to only 4 bytes for Outlook compatiblity

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@432 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-03-10 00:54:12 +00:00
parent 4193ae3fa5
commit 8bb3ba9ed1
1 changed files with 1 additions and 1 deletions

View File

@ -972,7 +972,7 @@ public class ExchangeSession {
byte[] decodedValue = Base64.decode(uid.getBytes());
long result = 0;
for (int i = 3; i < 9; i++) {
for (int i = 5; i < 9; i++) {
result = result << 8;
result |= decodedValue[i] & 0xff;
}