From 589bb541111e97610308fae1269a549d51c9ea6c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 7 Sep 2010 21:40:30 +0200 Subject: 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 --- src/input/curl_input_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input') 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) { -- cgit v1.2.3