diff options
| author | Vincent Richard <[email protected]> | 2005-12-02 13:25:58 +0100 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2005-12-02 13:25:58 +0100 |
| commit | da6cd3061148503c6c18561625ce9234ac810c48 (patch) | |
| tree | 91914be8e8356690cf81129f2f38ab7cc2a4302a /src/net/imap/IMAPConnection.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/net/imap/IMAPConnection.cpp')
| -rw-r--r-- | src/net/imap/IMAPConnection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/imap/IMAPConnection.cpp b/src/net/imap/IMAPConnection.cpp index 69dfcb1e..34888dae 100644 --- a/src/net/imap/IMAPConnection.cpp +++ b/src/net/imap/IMAPConnection.cpp @@ -191,7 +191,7 @@ void IMAPConnection::connect() void IMAPConnection::authenticate() { - getAuthenticator()->setService(thisRef().dynamicCast <service>()); + getAuthenticator()->setService(m_store.toStrong()); #if VMIME_HAVE_SASL_SUPPORT // First, try SASL authentication |
