diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-03-01 16:16:19 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-03-07 12:10:11 +0100 |
commit | e364546fb3371ac27f59f897e4c55acce7fc824e (patch) | |
tree | b78ab8146ff20031fe094d176516dc06aff9cb47 /lib/http2.c | |
parent | 310dc709ffa0f66ea3184048aee941815aaf5a03 (diff) |
version: make curl_version* thread-safe without using global context
Closes #5010
Diffstat (limited to 'lib/http2.c')
-rw-r--r-- | lib/http2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http2.c b/lib/http2.c index 72b38a3f6..41d8db685 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -333,7 +333,7 @@ static const struct Curl_handler Curl_handler_http2_ssl = { int Curl_http2_ver(char *p, size_t len) { nghttp2_info *h2 = nghttp2_version(0); - return msnprintf(p, len, " nghttp2/%s", h2->version_str); + return msnprintf(p, len, "nghttp2/%s", h2->version_str); } /* |