Merge branch 'v0.23.x'

This commit is contained in:
Max Kellermann
2021-12-06 21:32:48 +01:00
6 changed files with 58 additions and 14 deletions

View File

@@ -60,7 +60,7 @@ CurlUnescape(CURL *curl, StringView src) noexcept
int outlength;
CurlString tmp(curl_easy_unescape(curl, src.data, src.size,
&outlength));
return std::string(tmp.c_str(), outlength);
return {tmp.c_str(), size_t(outlength)};
}
std::string