diff options
Diffstat (limited to '')
-rw-r--r-- | src/messaging/url.cpp | 2 | ||||
-rw-r--r-- | src/messaging/urlUtils.cpp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/messaging/url.cpp b/src/messaging/url.cpp index 33f31236..85025c64 100644 --- a/src/messaging/url.cpp +++ b/src/messaging/url.cpp @@ -206,7 +206,7 @@ void url::parse(const string& str) for (string::const_iterator it = port.begin() ; onlyDigit && it != port.end() ; ++it) { - onlyDigit = isdigit(*it); + onlyDigit = parserHelpers::isdigit(*it); } if (!onlyDigit) diff --git a/src/messaging/urlUtils.cpp b/src/messaging/urlUtils.cpp index 51db470d..d3eefc3d 100644 --- a/src/messaging/urlUtils.cpp +++ b/src/messaging/urlUtils.cpp @@ -18,6 +18,7 @@ // #include "vmime/messaging/urlUtils.hpp" +#include "vmime/parserHelpers.hpp" namespace vmime { @@ -33,7 +34,7 @@ const string urlUtils::encode(const string& s) { const char_t c = *it; - if (isprint(c) && c != '%') + if (parserHelpers::isprint(c) && c != '%') { result += c; } |