diff options
author | Vincent Richard <[email protected]> | 2005-03-16 17:13:08 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2005-03-16 17:13:08 +0000 |
commit | 2ca56a209f9968e4546ab3c7038a3dec03709cfa (patch) | |
tree | 215eef7c8a750988db9663de65f8b41ae0c6463d /src/utility/stringUtils.cpp | |
parent | Support for In-Reply-To header field (type MessageId). (diff) | |
download | vmime-2ca56a209f9968e4546ab3c7038a3dec03709cfa.tar.gz vmime-2ca56a209f9968e4546ab3c7038a3dec03709cfa.zip |
Fixed compilation problems on Solaris 9.
Diffstat (limited to 'src/utility/stringUtils.cpp')
-rw-r--r-- | src/utility/stringUtils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utility/stringUtils.cpp b/src/utility/stringUtils.cpp index 988a6f53..4795c8d2 100644 --- a/src/utility/stringUtils.cpp +++ b/src/utility/stringUtils.cpp @@ -94,8 +94,8 @@ const string stringUtils::trim(const string& str) if (b != e) { - for ( ; b != e && parserHelpers::isspace(*b) ; ++b); - for ( ; e != b && parserHelpers::isspace(*(e - 1)) ; --e); + for ( ; b != e && parserHelpers::isSpace(*b) ; ++b); + for ( ; e != b && parserHelpers::isSpace(*(e - 1)) ; --e); } return (string(b, e)); @@ -109,7 +109,7 @@ const string::size_type stringUtils::countASCIIchars for (string::const_iterator i = begin ; i != end ; ++i) { - if (parserHelpers::isascii(*i)) + if (parserHelpers::isAscii(*i)) { if (*i != '=' || *(i + 1) != '?') // To avoid bad behaviour... ++count; |