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
This commit is contained in:
parent
64dacd175a
commit
589bb54111
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user