From e364546fb3371ac27f59f897e4c55acce7fc824e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 1 Mar 2020 16:16:19 +0100 Subject: version: make curl_version* thread-safe without using global context Closes #5010 --- lib/vquic/ngtcp2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/vquic/ngtcp2.c') diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c index 0788404c0..2f6ee8bdf 100644 --- a/lib/vquic/ngtcp2.c +++ b/lib/vquic/ngtcp2.c @@ -641,7 +641,7 @@ 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", + return msnprintf(p, len, "ngtcp2/%s nghttp3/%s", ng2->version_str, ht3->version_str); } -- cgit v1.2.3