From b959c2f775acabbe8b84896cadb941f7252f8870 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 25 Aug 2019 18:09:37 +0200 Subject: ngtcp2: use nghttp3_version() --- lib/vquic/ngtcp2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/vquic/ngtcp2.c') diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c index 6071c5906..5fd65429f 100644 --- a/lib/vquic/ngtcp2.c +++ b/lib/vquic/ngtcp2.c @@ -1155,8 +1155,9 @@ CURLcode Curl_quic_connect(struct connectdata *conn, int Curl_quic_ver(char *p, size_t len) { ngtcp2_info *ng2 = ngtcp2_version(0); + nghttp3_info *ht3 = nghttp3_version(0); return msnprintf(p, len, " ngtcp2/%s nghttp3/%s", - ng2->version_str, NGHTTP3_VERSION); + ng2->version_str, ht3->version_str); } static int ng_getsock(struct connectdata *conn, curl_socket_t *socks) -- cgit v1.2.3