aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/CurlInputPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-11-01 14:09:30 +0100
committerMax Kellermann <max@duempel.org>2014-11-02 11:55:48 +0100
commitec3191f50279c432ffef7449133db1d4c433120c (patch)
treeec205b64d63a2ee7a3696c751317e2e45a244fe5 /src/input/CurlInputPlugin.cxx
parent32b5654a6e7738211e6aa18ab8089cc6328aa1fa (diff)
downloadmpd-ec3191f50279c432ffef7449133db1d4c433120c.tar.gz
mpd-ec3191f50279c432ffef7449133db1d4c433120c.tar.xz
mpd-ec3191f50279c432ffef7449133db1d4c433120c.zip
input/curl: fix curl_easy_setopt() parameter types
Diffstat (limited to 'src/input/CurlInputPlugin.cxx')
-rw-r--r--src/input/CurlInputPlugin.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/input/CurlInputPlugin.cxx b/src/input/CurlInputPlugin.cxx
index b78545951..031ebfea6 100644
--- a/src/input/CurlInputPlugin.cxx
+++ b/src/input/CurlInputPlugin.cxx
@@ -983,10 +983,10 @@ input_curl_easy_init(struct input_curl *c, Error &error)
input_curl_writefunction);
curl_easy_setopt(c->easy, CURLOPT_WRITEDATA, c);
curl_easy_setopt(c->easy, CURLOPT_HTTP200ALIASES, http_200_aliases);
- curl_easy_setopt(c->easy, CURLOPT_FOLLOWLOCATION, 1);
- curl_easy_setopt(c->easy, CURLOPT_NETRC, 1);
- curl_easy_setopt(c->easy, CURLOPT_MAXREDIRS, 5);
- curl_easy_setopt(c->easy, CURLOPT_FAILONERROR, true);
+ curl_easy_setopt(c->easy, CURLOPT_FOLLOWLOCATION, 1l);
+ curl_easy_setopt(c->easy, CURLOPT_NETRC, 1l);
+ curl_easy_setopt(c->easy, CURLOPT_MAXREDIRS, 5l);
+ curl_easy_setopt(c->easy, CURLOPT_FAILONERROR, 1l);
curl_easy_setopt(c->easy, CURLOPT_ERRORBUFFER, c->error);
curl_easy_setopt(c->easy, CURLOPT_NOPROGRESS, 1l);
curl_easy_setopt(c->easy, CURLOPT_NOSIGNAL, 1l);