diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-09-15 16:09:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-15 16:09:40 +0200 |
| commit | 601a48a63e745817cf2a4c7f3ca526e393dd3fb8 (patch) | |
| tree | ed011d8f2bfcde8750bca64c0f69407df4bd6444 /lib/utils_base.c | |
| parent | 8ef825d85fb4d09c32ca44c545d6eb8d995ddea4 (diff) | |
| parent | 15ecdb73ce5cda54f824e5a63ee8e801bf16a996 (diff) | |
| download | monitoring-plugins-601a48a63e745817cf2a4c7f3ca526e393dd3fb8.tar.gz | |
Merge pull request #2150 from RincewindsHat/refactor/lib
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); |
