mirror of
https://github.com/moparisthebest/davmail
synced 2024-08-13 16:53:51 -04:00
IMAP: Fix 3137275 Imap header fetch bug
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1581 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
1c3edf5e7f
commit
1d105b927d
@ -802,7 +802,7 @@ public class ImapConnection extends AbstractConnection {
|
||||
int startIndex = partIndexString.indexOf('(');
|
||||
int endIndex = partIndexString.indexOf(')');
|
||||
if (startIndex >= 0 && endIndex >= 0) {
|
||||
return partIndexString.substring(startIndex + 1, endIndex - 1).split(" ");
|
||||
return partIndexString.substring(startIndex + 1, endIndex).split(" ");
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user