cf-socket: Fix build when not HAVE_GETPEERNAME

Remove remaining references to conn and sockfd, which were removed from
the function signature when conninfo_remote was renamed to
conn_set_primary_ip in 6a8d7ef.

Closes https://github.com/curl/curl/pull/10343
This commit is contained in:
Ryan Schmidt 2023-01-25 19:05:02 -06:00 committed by Jay Satiro
parent 9e93bd47c2
commit a17101e347

View File

@ -1174,8 +1174,6 @@ static void conn_set_primary_ip(struct Curl_cfilter *cf,
#else
cf->conn->primary_ip[0] = 0;
(void)data;
(void)conn;
(void)sockfd;
#endif
}