Check for space/tab instead of using isspace().
This commit is contained in:
parent
396134ba5a
commit
386fefeb0f
@ -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());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user