From 35723950547b06a359bac9a767d2a6f1520926b7 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Thu, 31 Oct 2024 14:13:43 +0100 Subject: check_ups: clang-format --- plugins/check_ups.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/check_ups.c b/plugins/check_ups.c index f60c0e9e..adb7ab81 100644 --- a/plugins/check_ups.c +++ b/plugins/check_ups.c @@ -40,7 +40,9 @@ const char *email = "devel@monitoring-plugins.org"; #include "netutils.h" #include "utils.h" -enum { PORT = 3493 }; +enum { + PORT = 3493 +}; #define UPS_NONE 0 /* no supported options */ #define UPS_UTILITY 1 /* supports utility line */ @@ -66,7 +68,9 @@ enum { PORT = 3493 }; #define UPSSTATUS_UNKNOWN 4096 #define UPSSTATUS_ALARM 8192 -enum { NOSUCHVAR = ERROR - 1 }; +enum { + NOSUCHVAR = ERROR - 1 +}; typedef struct ups_config { unsigned int server_port; -- cgit v1.2.3-74-g34f1