aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2006-11-24 13:22:28 +0000
committerVincent Richard <[email protected]>2006-11-24 13:22:28 +0000
commit386fefeb0fcc559d6fd5134f7f881fddd34056d3 (patch)
treeb0cf1adbb63d32dc342c741da4e5847c1f8b03de
parentFixed CPPDEFINES for new version of SCons. (diff)
downloadvmime-386fefeb0fcc559d6fd5134f7f881fddd34056d3.tar.gz
vmime-386fefeb0fcc559d6fd5134f7f881fddd34056d3.zip
Check for space/tab instead of using isspace().
-rw-r--r--src/net/pop3/POP3Store.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/pop3/POP3Store.cpp b/src/net/pop3/POP3Store.cpp
index 10a67c4a..b27c4295 100644
--- a/src/net/pop3/POP3Store.cpp
+++ b/src/net/pop3/POP3Store.cpp
@@ -378,7 +378,7 @@ void POP3Store::authenticateSASL()
(x[1] == 'A' || x[1] == 'a') &&
(x[2] == 'S' || x[2] == 's') &&
(x[3] == 'L' || x[3] == 'l') &&
- std::isspace(x[4]))
+ (x[4] == ' ' || x[4] == '\t'))
{
const string list(x.begin() + 5, x.end());