diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-08-30 17:45:01 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-30 17:45:01 +0200 |
commit | 67bf63050f4c2d94ee26f9edab6f56b3954b84c3 (patch) | |
tree | fa0bde73660060211cb97eb560b09185d83c5452 | |
parent | 879e7452b019a33f93dfa84c95a30bc23afb95d8 (diff) | |
download | curl-67bf63050f4c2d94ee26f9edab6f56b3954b84c3.tar.gz |
fixup ngtcp2 toobagder/addrlen
-rw-r--r-- | lib/vquic/ngtcp2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c index d98be181c..6b3d53ee0 100644 --- a/lib/vquic/ngtcp2.c +++ b/lib/vquic/ngtcp2.c @@ -541,12 +541,11 @@ CURLcode Curl_quic_connect(struct connectdata *conn, uint8_t paramsbuf[64]; ngtcp2_transport_params params; ssize_t nwrite; - (void)addrlen; qs->conn = conn; /* extract the used address as a string */ - if(!Curl_addr2string((struct sockaddr*)addr, ipbuf, &port)) { + if(!Curl_addr2string((struct sockaddr*)addr, addrlen, ipbuf, &port)) { char buffer[STRERROR_LEN]; failf(data, "ssrem inet_ntop() failed with errno %d: %s", errno, Curl_strerror(errno, buffer, sizeof(buffer))); |