diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-09 01:17:44 +0200 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-09 01:17:44 +0200 |
commit | b6fea24c3deaf73ee4fa8052fe435ece445fdc4f (patch) | |
tree | 8ff8aea2db5971b55ef717c2b3a2d7bf6a340e7e | |
parent | 6a4b9927cb8bf3ca96c83735c97ccb4ca9ddd4e8 (diff) | |
download | monitoring-plugins-b6fea24c3deaf73ee4fa8052fe435ece445fdc4f.tar.gz |
More consequent booleans
-rw-r--r-- | plugins-root/check_icmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index 06c8b782..99bd667f 100644 --- a/plugins-root/check_icmp.c +++ b/plugins-root/check_icmp.c | |||
@@ -1347,8 +1347,8 @@ finish(int sig) | |||
1347 | 1347 | ||
1348 | /* if no new mode selected, use old schema */ | 1348 | /* if no new mode selected, use old schema */ |
1349 | if (!rta_mode && !pl_mode && !jitter_mode && !score_mode && !mos_mode && !order_mode) { | 1349 | if (!rta_mode && !pl_mode && !jitter_mode && !score_mode && !mos_mode && !order_mode) { |
1350 | rta_mode=1; | 1350 | rta_mode = true; |
1351 | pl_mode=1; | 1351 | pl_mode = true; |
1352 | } | 1352 | } |
1353 | 1353 | ||
1354 | #define THIS_STATUS_WARNING this_status = (this_status <= STATE_WARNING ? STATE_WARNING : this_status) | 1354 | #define THIS_STATUS_WARNING this_status = (this_status <= STATE_WARNING ? STATE_WARNING : this_status) |