summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2021-11-09 17:33:55 +0900
committerDaniel Stenberg <daniel@haxx.se>2021-11-09 11:40:00 +0100
commitd9d842989cf3d985db917b285a6369a9a17ee316 (patch)
tree38f71a29f6b1cb7d36ea65c42623858dcc218442
parentb3e1ed316062b7984a4a29e7b599f9b8640c7749 (diff)
downloadcurl-d9d842989cf3d985db917b285a6369a9a17ee316.tar.gz
ngtcp2: compile with the latest nghttp3
Closes #7978
-rw-r--r--lib/vquic/ngtcp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c
index a13b55ad7..1ffc09d57 100644
--- a/lib/vquic/ngtcp2.c
+++ b/lib/vquic/ngtcp2.c
@@ -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);
}