aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/imap/IMAPConnection.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-10-04 18:34:25 +0000
committerVincent Richard <[email protected]>2005-10-04 18:34:25 +0000
commit09d9e114398e826a4e676c4dbb3cbe7f88d1236c (patch)
tree9e72eeef6173634c74d1fd10117826a11d0686a1 /src/net/imap/IMAPConnection.cpp
parentAdded TLS/SSL support. (diff)
downloadvmime-09d9e114398e826a4e676c4dbb3cbe7f88d1236c.tar.gz
vmime-09d9e114398e826a4e676c4dbb3cbe7f88d1236c.zip
Added service::setSocketFactory().
Diffstat (limited to 'src/net/imap/IMAPConnection.cpp')
-rw-r--r--src/net/imap/IMAPConnection.cpp5
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