From 555902bf7664838ef274899dea10f2fa7f52b8de Mon Sep 17 00:00:00 2001 From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> Date: Wed, 18 Oct 2023 20:15:30 +0200 Subject: check_radius: Use C99 booleans --- plugins/check_radius.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/check_radius.c b/plugins/check_radius.c index b1b4938c..6b32710a 100644 --- a/plugins/check_radius.c +++ b/plugins/check_radius.c @@ -93,7 +93,7 @@ char *expect = NULL; char *config_file = NULL; unsigned short port = PW_AUTH_UDP_PORT; int retries = 1; -int verbose = FALSE; +bool verbose = false; /****************************************************************************** @@ -272,10 +272,10 @@ process_arguments (int argc, char **argv) print_revision (progname, NP_VERSION); exit (STATE_UNKNOWN); case 'v': /* verbose mode */ - verbose = TRUE; + verbose = true; break; case 'H': /* hostname */ - if (is_host (optarg) == FALSE) { + if (!is_host (optarg)) { usage2 (_("Invalid hostname/address"), optarg); } server = optarg; -- cgit v1.2.3-74-g34f1