IMAP: fix date parsing error, see bug 2878289
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@876 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
565f037df2
commit
b0febb5b76
|
@ -1414,7 +1414,7 @@ public class ImapConnection extends AbstractConnection {
|
|||
StringBuilder nextToken = new StringBuilder();
|
||||
nextToken.append(super.nextToken());
|
||||
while (hasMoreTokens() && nextToken.length() > 0 && nextToken.charAt(0) == '"'
|
||||
&& nextToken.charAt(nextToken.length() - 1) != '"') {
|
||||
&& (nextToken.charAt(nextToken.length() - 1) != '"' || nextToken.length() == 1)) {
|
||||
nextToken.append(' ').append(super.nextToken());
|
||||
}
|
||||
while (hasMoreTokens() && nextToken.length() > 0 && nextToken.charAt(0) == '('
|
||||
|
|
Loading…
Reference in New Issue