summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-08-25 18:09:37 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-08-25 18:09:37 +0200
commitf556b2b303c86cd09ab547f14447321d6a520d1a (patch)
tree71409c471c8fc12256ddc69946c25ac3811909d7
parent15b2345f6028843032fa93599c2db435112d9633 (diff)
downloadcurl-bagder/ngtcp2-sync.tar.gz
ngtcp2: use nghttp3_version()bagder/ngtcp2-sync
-rw-r--r--lib/vquic/ngtcp2.c3
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)