summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Rybczak <andrzej@rybczak.net>2021-07-27 00:47:46 +0200
committerAndrzej Rybczak <andrzej@rybczak.net>2021-07-27 00:47:46 +0200
commit70ca94f7395dceefcf745b079bc892a7e998f3ed (patch)
tree499bf68305126854de453598312b884231a8db5d
parentdf1c4d7d7dee601a580169873ddb675d773777a5 (diff)
Curl: stop setting user agent to ncmpcpp
-rw-r--r--src/curl_handle.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/curl_handle.cpp b/src/curl_handle.cpp
index 4e712825..efbcafbc 100644
--- a/src/curl_handle.cpp
+++ b/src/curl_handle.cpp
@@ -41,7 +41,6 @@ CURLcode Curl::perform(std::string &data, const std::string &URL, const std::str
curl_easy_setopt(c, CURLOPT_WRITEDATA, &data);
curl_easy_setopt(c, CURLOPT_CONNECTTIMEOUT, timeout);
curl_easy_setopt(c, CURLOPT_NOSIGNAL, 1);
- curl_easy_setopt(c, CURLOPT_USERAGENT, "ncmpcpp " VERSION);
if (follow_redirect)
curl_easy_setopt(c, CURLOPT_FOLLOWLOCATION, 1L);
if (!referer.empty())