diff options
author | Patrick Monnerat <patrick@monnerat.net> | 2021-01-13 17:01:31 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-19 09:14:40 +0100 |
commit | bbe3aa9f881fa27fe828e3c9a36d6831f254a3ee (patch) | |
tree | 9f5f5f3ffe1ed7a066562ac7ba3e688af3d97b8c /lib/pop3.c | |
parent | 8399d89360db40cafe16ba65b5d9586d5a4fd3eb (diff) | |
download | curl-bbe3aa9f881fa27fe828e3c9a36d6831f254a3ee.tar.gz |
vtls: reduce conn->data use
Closes #6474
Diffstat (limited to 'lib/pop3.c')
-rw-r--r-- | lib/pop3.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/pop3.c b/lib/pop3.c index af3bca5b0..551d0da9c 100644 --- a/lib/pop3.c +++ b/lib/pop3.c @@ -368,7 +368,7 @@ static CURLcode pop3_perform_upgrade_tls(struct Curl_easy *data, { /* Start the SSL connection */ struct pop3_conn *pop3c = &conn->proto.pop3c; - CURLcode result = Curl_ssl_connect_nonblocking(conn, FIRSTSOCKET, + CURLcode result = Curl_ssl_connect_nonblocking(data, conn, FIRSTSOCKET, &pop3c->ssldone); if(!result) { @@ -1029,7 +1029,8 @@ static CURLcode pop3_multi_statemach(struct Curl_easy *data, bool *done) struct pop3_conn *pop3c = &conn->proto.pop3c; if((conn->handler->flags & PROTOPT_SSL) && !pop3c->ssldone) { - result = Curl_ssl_connect_nonblocking(conn, FIRSTSOCKET, &pop3c->ssldone); + result = Curl_ssl_connect_nonblocking(data, conn, + FIRSTSOCKET, &pop3c->ssldone); if(result || !pop3c->ssldone) return result; } |