diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-08-25 18:09:37 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-25 23:18:17 +0200 |
commit | b959c2f775acabbe8b84896cadb941f7252f8870 (patch) | |
tree | 71409c471c8fc12256ddc69946c25ac3811909d7 /lib/vquic | |
parent | ff4ef390f6cd56720f1704b8d9b63fd64c9b5220 (diff) |
ngtcp2: use nghttp3_version()
Diffstat (limited to 'lib/vquic')
-rw-r--r-- | lib/vquic/ngtcp2.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) |