summaryrefslogtreecommitdiffstats
path: root/plugins-root
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-10-08 23:17:44 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-10-08 23:17:44 (GMT)
commitb6fea24c3deaf73ee4fa8052fe435ece445fdc4f (patch)
tree8ff8aea2db5971b55ef717c2b3a2d7bf6a340e7e /plugins-root
parent6a4b9927cb8bf3ca96c83735c97ccb4ca9ddd4e8 (diff)
downloadmonitoring-plugins-b6fea24c3deaf73ee4fa8052fe435ece445fdc4f.tar.gz
More consequent booleans
Diffstat (limited to 'plugins-root')
-rw-r--r--plugins-root/check_icmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index 06c8b78..99bd667 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)