summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLayla <layla@insightfulvr.com>2021-01-29 14:21:35 -0500
committerDaniel Stenberg <daniel@haxx.se>2021-01-29 23:30:50 +0100
commit4fc5e7eda53124ce0b64687d2094587e8e56fd4a (patch)
treebc6a8a103edb13fc58969f8e947b9c78dd3c6edd
parent1c1158a9dd2d2f89ba32f5c95461dd63a18e86ad (diff)
downloadcurl-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>
-rw-r--r--lib/connect.c3
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
}