From b6fea24c3deaf73ee4fa8052fe435ece445fdc4f Mon Sep 17 00:00:00 2001 From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> Date: Mon, 9 Oct 2023 01:17:44 +0200 Subject: More consequent booleans --- plugins-root/check_icmp.c | 4 ++-- 1 file 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) /* if no new mode selected, use old schema */ if (!rta_mode && !pl_mode && !jitter_mode && !score_mode && !mos_mode && !order_mode) { - rta_mode=1; - pl_mode=1; + rta_mode = true; + pl_mode = true; } #define THIS_STATUS_WARNING this_status = (this_status <= STATE_WARNING ? STATE_WARNING : this_status) -- cgit v1.2.3-74-g34f1