mirror of
https://github.com/curl/curl.git
synced 2026-08-26 05:23:33 +03:00
pingpong: remove the 'conn' struct member
... as it's superfluous now when Curl_easy is passed in and we can derive the connection from that instead and avoid the duplicate copy. Closes #6525
This commit is contained in:
parent
1dc8aa870e
commit
7173fe98ba
6 changed files with 16 additions and 20 deletions
|
|
@ -1299,8 +1299,7 @@ static CURLcode smtp_init(struct Curl_easy *data)
|
|||
static int smtp_getsock(struct Curl_easy *data,
|
||||
struct connectdata *conn, curl_socket_t *socks)
|
||||
{
|
||||
(void)data;
|
||||
return Curl_pp_getsock(&conn->proto.smtpc.pp, socks);
|
||||
return Curl_pp_getsock(data, &conn->proto.smtpc.pp, socks);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue