From 35723950547b06a359bac9a767d2a6f1520926b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20K=C3=A4stle?= <12514511+RincewindsHat@users.noreply.github.com> Date: Thu, 31 Oct 2024 14:13:43 +0100 Subject: check_ups: clang-format diff --git a/plugins/check_ups.c b/plugins/check_ups.c index f60c0e9..adb7ab8 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 v0.10-9-g596f