Fixed typo when parsing ESMTP/AUTH response.
This commit is contained in:
parent
01ba897060
commit
64fdd8e889
@ -278,10 +278,10 @@ void SMTPTransport::authenticateSASL()
|
|||||||
while (liss >> word)
|
while (liss >> word)
|
||||||
{
|
{
|
||||||
if (word.length() == 4 &&
|
if (word.length() == 4 &&
|
||||||
(word[0] == 'A' || word[0] == 'a') ||
|
(word[0] == 'A' || word[0] == 'a') &&
|
||||||
(word[0] == 'U' || word[0] == 'u') ||
|
(word[1] == 'U' || word[1] == 'u') &&
|
||||||
(word[0] == 'T' || word[0] == 't') ||
|
(word[2] == 'T' || word[2] == 't') &&
|
||||||
(word[0] == 'H' || word[0] == 'h'))
|
(word[3] == 'H' || word[3] == 'h'))
|
||||||
{
|
{
|
||||||
inAuth = true;
|
inAuth = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user