check_curl clang-format

This commit is contained in:
Ahmet Oeztuerk 2026-05-12 14:37:57 +02:00
parent e73ec306c0
commit 5a1840a3ab

View file

@ -273,8 +273,8 @@ mp_subcheck check_http(const check_curl_config config, check_curl_working_state
/* Custom handling for timeouts */
if (res == CURLE_OPERATION_TIMEDOUT) {
xasprintf(&sc_curl.output, _("cURL returned %d - %s"),
res, errbuf[0] ? errbuf : curl_easy_strerror(res));
xasprintf(&sc_curl.output, _("cURL returned %d - %s"), res,
errbuf[0] ? errbuf : curl_easy_strerror(res));
sc_curl = mp_set_subcheck_state(sc_curl, config.on_timeout_result_state);
mp_add_subcheck_to_subcheck(&sc_result, sc_curl);
return sc_result;