From 7173fe98ba153c6b148bbbf98c08a7ae5ce69f60 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 25 Jan 2021 17:23:33 +0100 Subject: 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 --- lib/imap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/imap.c') diff --git a/lib/imap.c b/lib/imap.c index a09a00c21..2d8069921 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -1411,8 +1411,7 @@ static int imap_getsock(struct Curl_easy *data, struct connectdata *conn, curl_socket_t *socks) { - (void)data; - return Curl_pp_getsock(&conn->proto.imapc.pp, socks); + return Curl_pp_getsock(data, &conn->proto.imapc.pp, socks); } /*********************************************************************** -- cgit v1.2.1