mirror of https://github.com/moparisthebest/curl
connect: fix compile errors in `Curl_conninfo_local`
.. for the `#else` (`!HAVE_GETSOCKNAME`) case Fixes https://github.com/curl/curl/issues/6548 Closes #6549 Signed-off-by: Layla <layla@insightfulvr.com>
This commit is contained in:
parent
1c1158a9dd
commit
4fc5e7eda5
|
@ -737,8 +737,9 @@ void Curl_conninfo_local(struct Curl_easy *data, curl_socket_t sockfd,
|
|||
}
|
||||
#else
|
||||
(void)data;
|
||||
(void)conn;
|
||||
(void)sockfd;
|
||||
(void)local_ip;
|
||||
(void)local_port;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue