From da6cd3061148503c6c18561625ce9234ac810c48 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Fri, 2 Dec 2005 12:25:58 +0000 Subject: Fixed bug when connecting to IMAP with default authenticator. --- src/net/imap/IMAPConnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/imap/IMAPConnection.cpp') 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 ()); + getAuthenticator()->setService(m_store.toStrong()); #if VMIME_HAVE_SASL_SUPPORT // First, try SASL authentication -- cgit