diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-09-15 14:06:55 +0200 |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-09-15 14:06:55 +0200 |
commit | f855c5b5bbbc6d5436741fd8108be64825a3c76b (patch) | |
tree | 0ee1242bc21dc75a12fae03a5bb211fe10c89625 /lib/utils_base.c | |
parent | 8ef825d85fb4d09c32ca44c545d6eb8d995ddea4 (diff) | |
download | monitoring-plugins-f855c5b5bbbc6d5436741fd8108be64825a3c76b.tar.gz |
general refactorin in lib, more local variables, real booleans
Diffstat (limited to 'lib/utils_base.c')
-rw-r--r-- | lib/utils_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils_base.c b/lib/utils_base.c index 69024bc9..28e6dc47 100644 --- a/lib/utils_base.c +++ b/lib/utils_base.c | |||
@@ -44,7 +44,7 @@ | |||
44 | 44 | ||
45 | monitoring_plugin *this_monitoring_plugin = NULL; | 45 | monitoring_plugin *this_monitoring_plugin = NULL; |
46 | 46 | ||
47 | int timeout_state = STATE_CRITICAL; | 47 | mp_state_enum timeout_state = STATE_CRITICAL; |
48 | unsigned int timeout_interval = DEFAULT_SOCKET_TIMEOUT; | 48 | unsigned int timeout_interval = DEFAULT_SOCKET_TIMEOUT; |
49 | 49 | ||
50 | bool _np_state_read_file(FILE *state_file); | 50 | bool _np_state_read_file(FILE *state_file); |