diff options
Diffstat (limited to 'src/messaging')
-rw-r--r-- | src/messaging/url.cpp | 2 | ||||
-rw-r--r-- | src/messaging/urlUtils.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/messaging/url.cpp b/src/messaging/url.cpp index 85025c64..598bc5b8 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 = parserHelpers::isdigit(*it); + onlyDigit = parserHelpers::isDigit(*it); } if (!onlyDigit) diff --git a/src/messaging/urlUtils.cpp b/src/messaging/urlUtils.cpp index d3eefc3d..04603115 100644 --- a/src/messaging/urlUtils.cpp +++ b/src/messaging/urlUtils.cpp @@ -34,7 +34,7 @@ const string urlUtils::encode(const string& s) { const char_t c = *it; - if (parserHelpers::isprint(c) && c != '%') + if (parserHelpers::isPrint(c) && c != '%') { result += c; } |