Fixed another nasty bug. Possibly also because the JavaMail API changed to first call protocolConnect with a null password and if that fails to lookup the password and call protocolConnect again.

This commit is contained in:
edwin%woudt.nl 1999-02-25 16:48:33 +00:00
Родитель 6acbf5f25d
Коммит 013fd7935d
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -120,6 +120,8 @@ public class PopStore extends Store {
check(readln(), "USER command not accepted");
writeln("PASS " + password);
if (!resultOK(readln())) {
fSocket.close();
fSocket = null; // Otherwise it thinks we're still connected
return false; // Authentication failed.
}
} catch (UnknownHostException e) {