]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
ngtcp2: compile with the latest nghttp3
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Tue, 9 Nov 2021 08:33:55 +0000 (17:33 +0900)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 9 Nov 2021 10:40:00 +0000 (11:40 +0100)
Closes #7978

lib/vquic/ngtcp2.c

index a13b55ad7dfe07f66e29b242b6893e4af7338e22..1ffc09d5777b872d6043e384c9810ef40ad1b013 100644 (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);
 }