summaryrefslogtreecommitdiffstats
path: root/plugins/check_curl.d
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-09-12 01:35:45 +0200
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-09-12 01:59:05 +0200
commitad4faf1a9a414c657a94cafb54e5b3f1a5f5aaa2 (patch)
tree28f51da254993ce695e4f4ecf8b135048a4a7bee /plugins/check_curl.d
parentab66b41d235c3ec38eeb8dfd2091e3b76fc1ffa3 (diff)
downloadmonitoring-plugins-ad4faf1a9a414c657a94cafb54e5b3f1a5f5aaa2.tar.gz
Fix struct access
Diffstat (limited to 'plugins/check_curl.d')
-rw-r--r--plugins/check_curl.d/check_curl_helpers.c2
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 42d63bc4..29aae524 100644
--- a/plugins/check_curl.d/check_curl_helpers.c
+++ b/plugins/check_curl.d/check_curl_helpers.c
@@ -516,7 +516,7 @@ check_curl_configure_curl(const check_curl_static_curl_config config,
516 result.curl_state.put_buf_initialized = true; 516 result.curl_state.put_buf_initialized = true;
517 handle_curl_option_return_code(curl_easy_setopt(result.curl_state.curl, 517 handle_curl_option_return_code(curl_easy_setopt(result.curl_state.curl,
518 CURLOPT_READDATA, 518 CURLOPT_READDATA,
519 (void *)&result.curl_state.put_buf), 519 (void *)result.curl_state.put_buf),
520 "CURLOPT_READDATA"); 520 "CURLOPT_READDATA");
521 handle_curl_option_return_code( 521 handle_curl_option_return_code(
522 curl_easy_setopt(result.curl_state.curl, CURLOPT_INFILESIZE, 522 curl_easy_setopt(result.curl_state.curl, CURLOPT_INFILESIZE,