From 26eecc6b35ba4f602e6febb7ca79a4d4bc878a8f Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Tue, 18 Jun 2013 22:22:29 +0200 Subject: [PATCH] Fixed invalid cast. --- src/net/pop3/POP3Connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/pop3/POP3Connection.cpp b/src/net/pop3/POP3Connection.cpp index 846d31e9..33349749 100644 --- a/src/net/pop3/POP3Connection.cpp +++ b/src/net/pop3/POP3Connection.cpp @@ -212,7 +212,7 @@ void POP3Connection::internalDisconnect() void POP3Connection::authenticate(const messageId& randomMID) { - getAuthenticator()->setService(thisRef().dynamicCast ()); + getAuthenticator()->setService(m_store.acquire()); #if VMIME_HAVE_SASL_SUPPORT // First, try SASL authentication