summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 14:13:43 +0100
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-10-31 14:13:43 +0100
commit35723950547b06a359bac9a767d2a6f1520926b7 (patch)
tree87e43bd8868ab675b9acdcdcc950bbc4c100c014
parent6dd03aff71357712c2ff09667da7b7506d9b7e7a (diff)
downloadmonitoring-plugins-35723950547b06a359bac9a767d2a6f1520926b7.tar.gz
check_ups: clang-format
-rw-r--r--plugins/check_ups.c8
1 files 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";
40#include "netutils.h" 40#include "netutils.h"
41#include "utils.h" 41#include "utils.h"
42 42
43enum { PORT = 3493 }; 43enum {
44 PORT = 3493
45};
44 46
45#define UPS_NONE 0 /* no supported options */ 47#define UPS_NONE 0 /* no supported options */
46#define UPS_UTILITY 1 /* supports utility line */ 48#define UPS_UTILITY 1 /* supports utility line */
@@ -66,7 +68,9 @@ enum { PORT = 3493 };
66#define UPSSTATUS_UNKNOWN 4096 68#define UPSSTATUS_UNKNOWN 4096
67#define UPSSTATUS_ALARM 8192 69#define UPSSTATUS_ALARM 8192
68 70
69enum { NOSUCHVAR = ERROR - 1 }; 71enum {
72 NOSUCHVAR = ERROR - 1
73};
70 74
71typedef struct ups_config { 75typedef struct ups_config {
72 unsigned int server_port; 76 unsigned int server_port;