summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortastytea2020-01-26 03:51:32 +0100
committertastytea2020-01-26 03:51:32 +0100
commitfe5ac46d526792696902bf4f01e0b70198ce008b (patch)
treeaf43ea8adf220aecc6360f2464fe1ab2f81fc0d5 /src
parent65ff76312bb96a5d8283fa2866690d782a388754 (diff)
downloadmastodonpp-fe5ac46d526792696902bf4f01e0b70198ce008b.tar
mastodonpp-fe5ac46d526792696902bf4f01e0b70198ce008b.tar.gz
mastodonpp-fe5ac46d526792696902bf4f01e0b70198ce008b.zip
Explicitly call CURLWrapper::set_useragent() in setup_curl().
Diffstat (limited to 'src')
-rw-r--r--src/curl_wrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/curl_wrapper.cpp b/src/curl_wrapper.cpp
index bb22a5c..e588f63 100644
--- a/src/curl_wrapper.cpp
+++ b/src/curl_wrapper.cpp
@@ -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)