diff options
Diffstat (limited to 'plugins/check_curl.d/check_curl_helpers.c')
| -rw-r--r-- | plugins/check_curl.d/check_curl_helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_curl.d/check_curl_helpers.c b/plugins/check_curl.d/check_curl_helpers.c index 5af00973..ad31b847 100644 --- a/plugins/check_curl.d/check_curl_helpers.c +++ b/plugins/check_curl.d/check_curl_helpers.c | |||
| @@ -488,7 +488,7 @@ check_curl_configure_curl(const check_curl_static_curl_config config, | |||
| 488 | curl_easy_setopt(result.curl_state.curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4), | 488 | curl_easy_setopt(result.curl_state.curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4), |
| 489 | "CURLOPT_IPRESOLVE(CURL_IPRESOLVE_V4)"); | 489 | "CURLOPT_IPRESOLVE(CURL_IPRESOLVE_V4)"); |
| 490 | } | 490 | } |
| 491 | #if defined(USE_IPV6) && defined(LIBCURL_FEATURE_IPV6) | 491 | #if defined(LIBCURL_FEATURE_IPV6) |
| 492 | else if (config.sin_family == AF_INET6) { | 492 | else if (config.sin_family == AF_INET6) { |
| 493 | handle_curl_option_return_code( | 493 | handle_curl_option_return_code( |
| 494 | curl_easy_setopt(result.curl_state.curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V6), | 494 | curl_easy_setopt(result.curl_state.curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V6), |
