Fixed typo when parsing ESMTP/AUTH response.

This commit is contained in:
Vincent Richard 2006-05-05 11:11:03 +00:00
parent 01ba897060
commit 64fdd8e889

View File

@ -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;
} }