diff options
Diffstat (limited to 'src/net/imap/IMAPConnection.cpp')
-rw-r--r-- | src/net/imap/IMAPConnection.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/net/imap/IMAPConnection.cpp b/src/net/imap/IMAPConnection.cpp index b0716f45..180caa4b 100644 --- a/src/net/imap/IMAPConnection.cpp +++ b/src/net/imap/IMAPConnection.cpp @@ -94,10 +94,7 @@ void IMAPConnection::connect() } // Create and connect the socket - socketFactory* sf = platformDependant::getHandler()-> - getSocketFactory(GET_PROPERTY(string, PROPERTY_SERVER_SOCKETFACTORY)); - - m_socket = sf->create(); + m_socket = m_store->getSocketFactory()->create(); #if VMIME_HAVE_TLS_SUPPORT if (m_store->isSecuredConnection()) // dedicated port/IMAPS |