diff options
| author | Stuart Henderson <stu@spacehopper.org> | 2025-12-23 15:54:27 +0000 |
|---|---|---|
| committer | Stuart Henderson <stu@spacehopper.org> | 2025-12-23 15:54:27 +0000 |
| commit | d36bf51baf2338cc7f49601f679548960a8299c0 (patch) | |
| tree | 0d667be48eabe72a4c2f5926f7f6a1ff588dc330 /plugins/check_curl.d/check_curl_helpers.h | |
| parent | 828a9720b10814c5836d03aa35af05d196c4104b (diff) | |
| download | monitoring-plugins-d36bf51b.tar.gz | |
fix types for most curl_easy_setopt parameters
according to https://curl.se/libcurl/c/curl_easy_setopt.html, parameters
are either a long, a function pointer, an object pointer or a curl_off_t,
depending on what the option expects; curl 8.16 checks and warns about
these.
Diffstat (limited to 'plugins/check_curl.d/check_curl_helpers.h')
| -rw-r--r-- | plugins/check_curl.d/check_curl_helpers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_curl.d/check_curl_helpers.h b/plugins/check_curl.d/check_curl_helpers.h index e7b80f7e..e77b763b 100644 --- a/plugins/check_curl.d/check_curl_helpers.h +++ b/plugins/check_curl.d/check_curl_helpers.h | |||
| @@ -80,7 +80,7 @@ check_curl_configure_curl_wrapper check_curl_configure_curl(check_curl_static_cu | |||
| 80 | check_curl_working_state working_state, | 80 | check_curl_working_state working_state, |
| 81 | bool check_cert, | 81 | bool check_cert, |
| 82 | bool on_redirect_dependent, | 82 | bool on_redirect_dependent, |
| 83 | int follow_method, int max_depth); | 83 | int follow_method, long max_depth); |
| 84 | 84 | ||
| 85 | void handle_curl_option_return_code(CURLcode res, const char *option); | 85 | void handle_curl_option_return_code(CURLcode res, const char *option); |
| 86 | 86 | ||
