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:
Max Kellermann 2010-09-07 21:40:30 +02:00
parent 64dacd175a
commit 589bb54111

View File

@ -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) {