Fixed dangling 'else'-block when TLS is not enabled (thanks to Tim Teulings).
This commit is contained in:
parent
64ba82c100
commit
de9d03d952
@ -109,8 +109,8 @@ void IMAPConnection::connect()
|
|||||||
m_secured = true;
|
m_secured = true;
|
||||||
m_cntInfos = vmime::create <tls::TLSSecuredConnectionInfos>(address, port, tlsSession, tlsSocket);
|
m_cntInfos = vmime::create <tls::TLSSecuredConnectionInfos>(address, port, tlsSession, tlsSocket);
|
||||||
}
|
}
|
||||||
#endif // VMIME_HAVE_TLS_SUPPORT
|
|
||||||
else
|
else
|
||||||
|
#endif // VMIME_HAVE_TLS_SUPPORT
|
||||||
{
|
{
|
||||||
m_cntInfos = vmime::create <defaultConnectionInfos>(address, port);
|
m_cntInfos = vmime::create <defaultConnectionInfos>(address, port);
|
||||||
}
|
}
|
||||||
|
@ -147,8 +147,8 @@ void POP3Store::connect()
|
|||||||
m_secured = true;
|
m_secured = true;
|
||||||
m_cntInfos = vmime::create <tls::TLSSecuredConnectionInfos>(address, port, tlsSession, tlsSocket);
|
m_cntInfos = vmime::create <tls::TLSSecuredConnectionInfos>(address, port, tlsSession, tlsSocket);
|
||||||
}
|
}
|
||||||
#endif // VMIME_HAVE_TLS_SUPPORT
|
|
||||||
else
|
else
|
||||||
|
#endif // VMIME_HAVE_TLS_SUPPORT
|
||||||
{
|
{
|
||||||
m_cntInfos = vmime::create <defaultConnectionInfos>(address, port);
|
m_cntInfos = vmime::create <defaultConnectionInfos>(address, port);
|
||||||
}
|
}
|
||||||
|
@ -113,8 +113,8 @@ void SMTPTransport::connect()
|
|||||||
m_secured = true;
|
m_secured = true;
|
||||||
m_cntInfos = vmime::create <tls::TLSSecuredConnectionInfos>(address, port, tlsSession, tlsSocket);
|
m_cntInfos = vmime::create <tls::TLSSecuredConnectionInfos>(address, port, tlsSession, tlsSocket);
|
||||||
}
|
}
|
||||||
#endif // VMIME_HAVE_TLS_SUPPORT
|
|
||||||
else
|
else
|
||||||
|
#endif // VMIME_HAVE_TLS_SUPPORT
|
||||||
{
|
{
|
||||||
m_cntInfos = vmime::create <defaultConnectionInfos>(address, port);
|
m_cntInfos = vmime::create <defaultConnectionInfos>(address, port);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user