summaryrefslogtreecommitdiffstats
path: root/plugins/check_curl.d/check_curl_helpers.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-09-15 02:30:42 +0200
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-09-15 02:30:42 +0200
commit5a2c1b2c3aeb99e7a703b0c5f6fe1a21d29b3be4 (patch)
tree9b9b45a6a611c4f37cf5dd447b37f74e48d56c14 /plugins/check_curl.d/check_curl_helpers.c
parenteca9eaf9f5771e417366bd3dac0cd463f405eb70 (diff)
downloadmonitoring-plugins-5a2c1b2c3aeb99e7a703b0c5f6fe1a21d29b3be4.tar.gz
Add output formatting option
Diffstat (limited to 'plugins/check_curl.d/check_curl_helpers.c')
-rw-r--r--plugins/check_curl.d/check_curl_helpers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/check_curl.d/check_curl_helpers.c b/plugins/check_curl.d/check_curl_helpers.c
index ab43a1e1..c3c2ba55 100644
--- a/plugins/check_curl.d/check_curl_helpers.c
+++ b/plugins/check_curl.d/check_curl_helpers.c
@@ -632,6 +632,8 @@ check_curl_config check_curl_config_init() {
632 632
633 .show_extended_perfdata = false, 633 .show_extended_perfdata = false,
634 .show_body = false, 634 .show_body = false,
635
636 .output_format_is_set = false,
635 }; 637 };
636 638
637 snprintf(tmp.curl_config.user_agent, DEFAULT_BUFFER_SIZE, "%s/v%s (monitoring-plugins %s, %s)", 639 snprintf(tmp.curl_config.user_agent, DEFAULT_BUFFER_SIZE, "%s/v%s (monitoring-plugins %s, %s)",