diff options
Diffstat (limited to 'src/vmime/net/imap/IMAPConnection.cpp')
-rw-r--r-- | src/vmime/net/imap/IMAPConnection.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vmime/net/imap/IMAPConnection.cpp b/src/vmime/net/imap/IMAPConnection.cpp index bab4e58b..5e6f6f8f 100644 --- a/src/vmime/net/imap/IMAPConnection.cpp +++ b/src/vmime/net/imap/IMAPConnection.cpp @@ -234,23 +234,23 @@ void IMAPConnection::authenticate() authenticateSASL(); return; } - catch (exceptions::authentication_error& e) + catch (exceptions::authentication_error&) { if (!GET_PROPERTY(bool, PROPERTY_OPTIONS_SASL_FALLBACK)) { // Can't fallback on normal authentication internalDisconnect(); - throw e; + throw; } else { // Ignore, will try normal authentication } } - catch (exception& e) + catch (exception&) { internalDisconnect(); - throw e; + throw; } } #endif // VMIME_HAVE_SASL_SUPPORT @@ -482,7 +482,7 @@ void IMAPConnection::startTLS() shared_ptr <tls::TLSSocket> tlsSocket = tlsSession->getSocket(m_socket); - tlsSocket->handshake(m_timeoutHandler); + tlsSocket->handshake(); m_socket = tlsSocket; m_parser->setSocket(m_socket); |