ngtcp2: compile with the latest nghttp3

Closes #7978
This commit is contained in:
Tatsuhiro Tsujikawa 2021-11-09 17:33:55 +09:00 committed by Daniel Stenberg
parent b3e1ed3160
commit d9d842989c
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -805,7 +805,7 @@ CURLcode Curl_quic_connect(struct Curl_easy *data,
void Curl_quic_ver(char *p, size_t len)
{
const ngtcp2_info *ng2 = ngtcp2_version(0);
nghttp3_info *ht3 = nghttp3_version(0);
const nghttp3_info *ht3 = nghttp3_version(0);
(void)msnprintf(p, len, "ngtcp2/%s nghttp3/%s",
ng2->version_str, ht3->version_str);
}