summaryrefslogtreecommitdiff
path: root/lib/pop3.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pop3.c')
-rw-r--r--lib/pop3.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/pop3.c b/lib/pop3.c
index 6d5afa876..f53661285 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -676,10 +676,8 @@ static CURLcode pop3_connect(struct connectdata *conn,
return result;
}
- if(conn->handler->protocol & CURLPROTO_POP3S) {
+ if(conn->handler->flags & PROTOPT_SSL) {
/* BLOCKING */
- /* POP3S is simply pop3 with SSL for the control channel */
- /* now, perform the SSL initialization for this socket */
result = Curl_ssl_connect(conn, FIRSTSOCKET);
if(result)
return result;