aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-09-07 21:40:30 +0200
committerMax Kellermann <max@duempel.org>2010-09-07 21:40:56 +0200
commit589bb541111e97610308fae1269a549d51c9ea6c (patch)
tree6cd4ec58d81a0a6ced71d05b027d3a9029671bb4
parent64dacd175ac7279b4b019c2e653d85007d71efb0 (diff)
downloadmpd-589bb541111e97610308fae1269a549d51c9ea6c.tar.gz
mpd-589bb541111e97610308fae1269a549d51c9ea6c.tar.xz
mpd-589bb541111e97610308fae1269a549d51c9ea6c.zip
input/curl: fix version check for curl_multi_timeout()
According to the CURL web site, curl_multi_timeout() was added in version 7.15.4: http://curl.haxx.se/libcurl/c/curl_multi_timeout.html
-rw-r--r--src/input/curl_input_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/curl_input_plugin.c b/src/input/curl_input_plugin.c
index c176f20dc..3893aef1c 100644
--- a/src/input/curl_input_plugin.c
+++ b/src/input/curl_input_plugin.c
@@ -259,7 +259,7 @@ input_curl_select(struct input_curl *c)
return -1;
}
-#if LIBCURL_VERSION_NUM >= 0x070f00
+#if LIBCURL_VERSION_NUM >= 0x070f04
long timeout2;
mcode = curl_multi_timeout(c->multi, &timeout2);
if (mcode != CURLM_OK) {