aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/smtp/camel-smtp-transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/smtp/camel-smtp-transport.c')
-rw-r--r--camel/providers/smtp/camel-smtp-transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c
index 3e80ae6e7e..d07a4305aa 100644
--- a/camel/providers/smtp/camel-smtp-transport.c
+++ b/camel/providers/smtp/camel-smtp-transport.c
@@ -442,7 +442,7 @@ connect_to_server_wrapper (CamelService *service, CamelException *ex)
if (transport->flags & CAMEL_SMTP_TRANSPORT_USE_SSL_ALWAYS) {
/* First try STARTTLS */
if (!connect_to_server (service, TRUE, ex) &&
- !transport->flags & CAMEL_SMTP_TRANSPORT_STARTTLS &&
+ !(transport->flags & CAMEL_SMTP_TRANSPORT_STARTTLS) &&
EXCEPTION_RETRY (ex)) {
/* STARTTLS is unavailable - okay, now try port 465 */
camel_exception_clear (ex);