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/imap.c | |
parent | 8399d89360db40cafe16ba65b5d9586d5a4fd3eb (diff) | |
download | curl-bbe3aa9f881fa27fe828e3c9a36d6831f254a3ee.tar.gz |
vtls: reduce conn->data use
Closes #6474
Diffstat (limited to 'lib/imap.c')
-rw-r--r-- | lib/imap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/imap.c b/lib/imap.c index 04ee4ef55..bab531239 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -473,7 +473,7 @@ static CURLcode imap_perform_upgrade_tls(struct Curl_easy *data, { /* Start the SSL connection */ struct imap_conn *imapc = &conn->proto.imapc; - CURLcode result = Curl_ssl_connect_nonblocking(conn, FIRSTSOCKET, + CURLcode result = Curl_ssl_connect_nonblocking(data, conn, FIRSTSOCKET, &imapc->ssldone); if(!result) { @@ -1366,7 +1366,8 @@ static CURLcode imap_multi_statemach(struct Curl_easy *data, bool *done) struct imap_conn *imapc = &conn->proto.imapc; if((conn->handler->flags & PROTOPT_SSL) && !imapc->ssldone) { - result = Curl_ssl_connect_nonblocking(conn, FIRSTSOCKET, &imapc->ssldone); + result = Curl_ssl_connect_nonblocking(data, conn, + FIRSTSOCKET, &imapc->ssldone); if(result || !imapc->ssldone) return result; } |