aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/plugins/CurlInputPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-11-02 12:27:46 +0100
committerMax Kellermann <max@duempel.org>2014-11-02 12:27:46 +0100
commit1f59701c46d7a75d9af92b9df14e03c2bc1ce730 (patch)
tree3bf8dc72a91cb3096915cec447e5060df209f106 /src/input/plugins/CurlInputPlugin.cxx
parent054323c2bc8ec5f1e417f85e3293f2a91d8425d8 (diff)
parentec3191f50279c432ffef7449133db1d4c433120c (diff)
downloadmpd-1f59701c46d7a75d9af92b9df14e03c2bc1ce730.tar.gz
mpd-1f59701c46d7a75d9af92b9df14e03c2bc1ce730.tar.xz
mpd-1f59701c46d7a75d9af92b9df14e03c2bc1ce730.zip
Merge branch 'v0.18.x' into v0.19.x
Diffstat (limited to 'src/input/plugins/CurlInputPlugin.cxx')
-rw-r--r--src/input/plugins/CurlInputPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/plugins/CurlInputPlugin.cxx b/src/input/plugins/CurlInputPlugin.cxx
index 42575a3fa..0028158a3 100644
--- a/src/input/plugins/CurlInputPlugin.cxx
+++ b/src/input/plugins/CurlInputPlugin.cxx
@@ -723,7 +723,7 @@ CurlInputStream::InitEasy(Error &error)
curl_easy_setopt(easy, CURLOPT_FOLLOWLOCATION, 1l);
curl_easy_setopt(easy, CURLOPT_NETRC, 1l);
curl_easy_setopt(easy, CURLOPT_MAXREDIRS, 5l);
- curl_easy_setopt(easy, CURLOPT_FAILONERROR, true);
+ curl_easy_setopt(easy, CURLOPT_FAILONERROR, 1l);
curl_easy_setopt(easy, CURLOPT_ERRORBUFFER, error_buffer);
curl_easy_setopt(easy, CURLOPT_NOPROGRESS, 1l);
curl_easy_setopt(easy, CURLOPT_NOSIGNAL, 1l);