aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/imap/IMAPConnection.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2006-02-09 21:03:16 +0000
committerVincent Richard <[email protected]>2006-02-09 21:03:16 +0000
commitde9d03d9520f18cb91d99900f5906430a06ad5e7 (patch)
tree16a564a8947b8a5eea9308013d66c38877bf3b5d /src/net/imap/IMAPConnection.cpp
parentAdded toAddressList(). (diff)
downloadvmime-de9d03d9520f18cb91d99900f5906430a06ad5e7.tar.gz
vmime-de9d03d9520f18cb91d99900f5906430a06ad5e7.zip
Fixed dangling 'else'-block when TLS is not enabled (thanks to Tim Teulings).
Diffstat (limited to 'src/net/imap/IMAPConnection.cpp')
-rw-r--r--src/net/imap/IMAPConnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/imap/IMAPConnection.cpp b/src/net/imap/IMAPConnection.cpp
index bbf39a84..bd963f56 100644
--- a/src/net/imap/IMAPConnection.cpp
+++ b/src/net/imap/IMAPConnection.cpp
@@ -109,8 +109,8 @@ void IMAPConnection::connect()
m_secured = true;
m_cntInfos = vmime::create <tls::TLSSecuredConnectionInfos>(address, port, tlsSession, tlsSocket);
}
-#endif // VMIME_HAVE_TLS_SUPPORT
else
+#endif // VMIME_HAVE_TLS_SUPPORT
{
m_cntInfos = vmime::create <defaultConnectionInfos>(address, port);
}