summaryrefslogtreecommitdiff
path: root/rss/parser.cpp
diff options
context:
space:
mode:
authorGravatar Alexander Batischev <eual.jp@gmail.com> 2017-08-12 14:03:51 +0300
committerGravatar Alexander Batischev <eual.jp@gmail.com> 2017-08-12 14:03:51 +0300
commit91641e3f89dbd29d2a23a6530fc833e687eb7953 (patch)
tree540f315a1f01f20eb67bffca270a0c6b06b0fc14 /rss/parser.cpp
parentfda201203b988ed1543bea5d03ba0a62fb11f6e0 (diff)
downloadnewsboat-91641e3f89dbd29d2a23a6530fc833e687eb7953.tar.gz
newsboat-91641e3f89dbd29d2a23a6530fc833e687eb7953.tar.zst
newsboat-91641e3f89dbd29d2a23a6530fc833e687eb7953.zip
Use new name for CURLOPT_ENCODING
Diffstat (limited to '')
-rw-r--r--rss/parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rss/parser.cpp b/rss/parser.cpp
index 2f45b7d7..991c147c 100644
--- a/rss/parser.cpp
+++ b/rss/parser.cpp
@@ -105,7 +105,7 @@ feed parser::parse_url(const std::string& url, time_t lastmodified, const std::s
curl_easy_setopt(easyhandle, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(easyhandle, CURLOPT_MAXREDIRS, 10);
curl_easy_setopt(easyhandle, CURLOPT_FAILONERROR, 1);
- curl_easy_setopt(easyhandle, CURLOPT_ENCODING, "gzip, deflate");
+ curl_easy_setopt(easyhandle, CURLOPT_ACCEPT_ENCODING, "gzip, deflate");
if (cookie_cache != "") {
curl_easy_setopt(easyhandle, CURLOPT_COOKIEFILE, cookie_cache.c_str());
curl_easy_setopt(easyhandle, CURLOPT_COOKIEJAR, cookie_cache.c_str());