diff options
author | Layla <layla@insightfulvr.com> | 2021-01-29 14:21:35 -0500 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-29 23:30:50 +0100 |
commit | 4fc5e7eda53124ce0b64687d2094587e8e56fd4a (patch) | |
tree | bc6a8a103edb13fc58969f8e947b9c78dd3c6edd /lib | |
parent | 1c1158a9dd2d2f89ba32f5c95461dd63a18e86ad (diff) | |
download | curl-4fc5e7eda53124ce0b64687d2094587e8e56fd4a.tar.gz |
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>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/connect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c index 1e9434bb6..baab1840e 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -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 } |