diff options
| author | Vincent Richard <[email protected]> | 2005-01-02 18:17:12 +0100 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2005-01-02 18:17:12 +0100 |
| commit | af06b4a56d6505a196e07a72aaa6b4b700ad5aa1 (patch) | |
| tree | bb5c904096a5f9bffdf9526eac756420fe24f6f2 /src/messaging | |
| parent | Added unit tests for 'bodyPart'. (diff) | |
| download | vmime-af06b4a56d6505a196e07a72aaa6b4b700ad5aa1.tar.gz vmime-af06b4a56d6505a196e07a72aaa6b4b700ad5aa1.zip | |
Added 'utility::datetimeUtils' + fixed 'stringUtils' not in namespace 'utility'.
Diffstat (limited to 'src/messaging')
| -rw-r--r-- | src/messaging/maildirStore.cpp | 2 | ||||
| -rw-r--r-- | src/messaging/serviceFactory.cpp | 2 | ||||
| -rw-r--r-- | src/messaging/url.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/messaging/maildirStore.cpp b/src/messaging/maildirStore.cpp index 5f1ebb6c..2a180085 100644 --- a/src/messaging/maildirStore.cpp +++ b/src/messaging/maildirStore.cpp @@ -85,7 +85,7 @@ const bool maildirStore::isValidFolderName(const folder::path::component& name) const string& buf = name.getBuffer(); // Name cannot start/end with spaces - if (stringUtils::trim(buf) != name.getBuffer()) + if (utility::stringUtils::trim(buf) != name.getBuffer()) return false; // Name cannot start with '.' diff --git a/src/messaging/serviceFactory.cpp b/src/messaging/serviceFactory.cpp index a444ac1a..d046b03c 100644 --- a/src/messaging/serviceFactory.cpp +++ b/src/messaging/serviceFactory.cpp @@ -79,7 +79,7 @@ service* serviceFactory::create const serviceFactory::registeredService* serviceFactory::getServiceByProtocol(const string& protocol) const { - const string name(stringUtils::toLower(protocol)); + const string name(utility::stringUtils::toLower(protocol)); for (std::vector <registeredService*>::const_iterator it = m_services.begin() ; it != m_services.end() ; ++it) diff --git a/src/messaging/url.cpp b/src/messaging/url.cpp index 9d6ba0dd..1c83a4d4 100644 --- a/src/messaging/url.cpp +++ b/src/messaging/url.cpp @@ -131,7 +131,7 @@ void url::parse(const string& str) if (protoEnd == string::npos) throw exceptions::malformed_url("No protocol separator"); const string proto = - stringUtils::toLower(string(str.begin(), str.begin() + protoEnd)); + utility::stringUtils::toLower(string(str.begin(), str.begin() + protoEnd)); // Username/password string::size_type slashPos = str.find('/', protoEnd + 3); @@ -190,7 +190,7 @@ void url::parse(const string& str) } // Path - string path = stringUtils::trim(string(str.begin() + slashPos, str.end())); + string path = utility::stringUtils::trim(string(str.begin() + slashPos, str.end())); if (path == "/") path.clear(); |
