1
0
mirror of https://github.com/moparisthebest/curl synced 2025-01-11 05:58:01 -05:00

ngtcp2: use nghttp3_version()

This commit is contained in:
Daniel Stenberg 2019-08-25 18:09:37 +02:00
parent ff4ef390f6
commit b959c2f775
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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)