Check for space/tab instead of using isspace().

This commit is contained in:
Vincent Richard 2006-11-24 13:22:28 +00:00
parent 396134ba5a
commit 386fefeb0f

View File

@ -378,7 +378,7 @@ void POP3Store::authenticateSASL()
(x[1] == 'A' || x[1] == 'a') && (x[1] == 'A' || x[1] == 'a') &&
(x[2] == 'S' || x[2] == 's') && (x[2] == 'S' || x[2] == 's') &&
(x[3] == 'L' || x[3] == 'l') && (x[3] == 'L' || x[3] == 'l') &&
std::isspace(x[4])) (x[4] == ' ' || x[4] == '\t'))
{ {
const string list(x.begin() + 5, x.end()); const string list(x.begin() + 5, x.end());