diff options
author | Vincent Richard <[email protected]> | 2005-12-02 12:25:58 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2005-12-02 12:25:58 +0000 |
commit | da6cd3061148503c6c18561625ce9234ac810c48 (patch) | |
tree | 91914be8e8356690cf81129f2f38ab7cc2a4302a /src/security/defaultAuthenticator.cpp | |
parent | Added toStrong() on weak ref. (diff) | |
download | vmime-da6cd3061148503c6c18561625ce9234ac810c48.tar.gz vmime-da6cd3061148503c6c18561625ce9234ac810c48.zip |
Fixed bug when connecting to IMAP with default authenticator.
Diffstat (limited to 'src/security/defaultAuthenticator.cpp')
-rw-r--r-- | src/security/defaultAuthenticator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/security/defaultAuthenticator.cpp b/src/security/defaultAuthenticator.cpp index 213a2630..339ba0c8 100644 --- a/src/security/defaultAuthenticator.cpp +++ b/src/security/defaultAuthenticator.cpp @@ -44,7 +44,7 @@ defaultAuthenticator::~defaultAuthenticator() const string defaultAuthenticator::getUsername() const { - const string& prefix = m_service->getInfos().getPropertyPrefix(); + const string prefix = m_service->getInfos().getPropertyPrefix(); const propertySet& props = m_service->getSession()->getProperties(); if (props.hasProperty(prefix + net::serviceInfos::property::AUTH_USERNAME.getName())) @@ -56,7 +56,7 @@ const string defaultAuthenticator::getUsername() const const string defaultAuthenticator::getPassword() const { - const string& prefix = m_service->getInfos().getPropertyPrefix(); + const string prefix = m_service->getInfos().getPropertyPrefix(); const propertySet& props = m_service->getSession()->getProperties(); if (props.hasProperty(prefix + net::serviceInfos::property::AUTH_PASSWORD.getName())) |