Explicitly call CURLWrapper::set_useragent() in setup_curl().
This commit is contained in:
parent
65ff76312b
commit
fe5ac46d52
@ -337,7 +337,7 @@ void CURLWrapper::setup_curl()
|
||||
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-vararg)
|
||||
curl_easy_setopt(_connection, CURLOPT_NOPROGRESS, 0L);
|
||||
|
||||
set_useragent((string("mastodonpp/") += version));
|
||||
CURLWrapper::set_useragent((string("mastodonpp/") += version));
|
||||
|
||||
// The next 2 only fail if HTTP is not supported.
|
||||
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-vararg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user