summaryrefslogtreecommitdiffstats
path: root/lib/perfdata.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2026-06-10 14:49:33 +0200
committerGitHub <noreply@github.com>2026-06-10 14:49:33 +0200
commitf8aad020f7c0be604da8981663b6d815f94ffaa4 (patch)
treee1c7bdeff275778b4dd324d26e826c861d143b48 /lib/perfdata.c
parent47b1b2d754d4809006f6dc1aa13ba9c80405975c (diff)
downloadmonitoring-plugins-f8aad020f7c0be604da8981663b6d815f94ffaa4.tar.gz
Run clang-format on everything once again (#2275)
Co-authored-by: Lorenz Kästle <lorenz.kaestle@netways.de>
Diffstat (limited to 'lib/perfdata.c')
-rw-r--r--lib/perfdata.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/perfdata.c b/lib/perfdata.c
index e3710ec7..f57f7c06 100644
--- a/lib/perfdata.c
+++ b/lib/perfdata.c
@@ -253,9 +253,9 @@ char *mp_range_to_string(const mp_range input) {
253 } else { 253 } else {
254 // check for zeroes, so we can use the short form 254 // check for zeroes, so we can use the short form
255 if ((input.start.type == PD_TYPE_NONE) || 255 if ((input.start.type == PD_TYPE_NONE) ||
256 ((input.start.type == PD_TYPE_INT) && (input.start.pd_int == 0)) || 256 ((input.start.type == PD_TYPE_INT) && (input.start.pd_int == 0)) ||
257 ((input.start.type == PD_TYPE_UINT) && (input.start.pd_uint == 0)) || 257 ((input.start.type == PD_TYPE_UINT) && (input.start.pd_uint == 0)) ||
258 ((input.start.type == PD_TYPE_DOUBLE) && (input.start.pd_double == 0))){ 258 ((input.start.type == PD_TYPE_DOUBLE) && (input.start.pd_double == 0))) {
259 // nothing to do here 259 // nothing to do here
260 } else { 260 } else {
261 // Start value is an actual value 261 // Start value is an actual value