aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/providers/imap4/camel-imap4-store.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index fe763f9fe3..88bfb7cb30 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,9 @@
2004-06-04 Jeffrey Stedfast <fejj@novell.com>
+ * providers/imap4/camel-imap4-store.c (connect_to_server_wrapper):
+ Duh. If the user doesn't care about SSL/TLS - use USE_SSL_NEVER,
+ not USE_SSL_ALWAYS.
+
* camel-tcp-stream-ssl.c (stream_flush): Always just return 0,
don't try to PR_Sync() - fsync on a socket causes an error.
diff --git a/camel/providers/imap4/camel-imap4-store.c b/camel/providers/imap4/camel-imap4-store.c
index 8e228be71a..4c8d701ecf 100644
--- a/camel/providers/imap4/camel-imap4-store.c
+++ b/camel/providers/imap4/camel-imap4-store.c
@@ -353,7 +353,7 @@ connect_to_server_wrapper (CamelService *service, CamelException *ex)
ret = connect_to_server (service, h, ssl_mode, TRUE, ex);
} else {
/* User doesn't care about SSL */
- ret = connect_to_server (service, h, USE_SSL_ALWAYS, FALSE, ex);
+ ret = connect_to_server (service, h, USE_SSL_NEVER, FALSE, ex);
}
camel_free_host (h);