POP: allow space in username

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1153 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-07-07 16:02:28 +00:00
parent aad346900d
commit 69d1ff7a9f
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ public class PopConnection extends AbstractConnection {
password = null;
session = null;
if (tokens.hasMoreTokens()) {
userName = tokens.nextToken();
userName = line.substring("USER ".length());
sendOK("USER : " + userName);
state = State.USER;
} else {