aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers')
-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 3ab0f2b122..310e2af2e7 100644
--- a/camel/providers/smtp/camel-smtp-transport.c
+++ b/camel/providers/smtp/camel-smtp-transport.c
@@ -160,7 +160,7 @@ smtp_construct (CamelService *service, CamelSession *session,
if ((use_ssl = camel_url_get_param (url, "use_ssl"))) {
/* Note: previous versions would use "" to toggle use_ssl to 'on' */
- if (!*use_url || !strcmp (use_ssl, "always"))
+ if (!*use_ssl || !strcmp (use_ssl, "always"))
smtp_transport->flags |= CAMEL_SMTP_TRANSPORT_USE_SSL_ALWAYS;
else if (!strcmp (use_ssl, "when-possible"))
smtp_transport->flags |= CAMEL_SMTP_TRANSPORT_USE_SSL_WHEN_POSSIBLE;