summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-10-18 18:15:30 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-10-18 18:15:30 (GMT)
commit555902bf7664838ef274899dea10f2fa7f52b8de (patch)
tree0df16676965eeedb7d578a67141543009ecd3fc5
parent47d3e156c5fd6db7da8fd25ca23135c34cf09ab5 (diff)
downloadmonitoring-plugins-555902bf7664838ef274899dea10f2fa7f52b8de.tar.gz
check_radius: Use C99 booleans
-rw-r--r--plugins/check_radius.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_radius.c b/plugins/check_radius.c
index b1b4938..6b32710 100644
--- a/plugins/check_radius.c
+++ b/plugins/check_radius.c
@@ -93,7 +93,7 @@ char *expect = NULL;
93char *config_file = NULL; 93char *config_file = NULL;
94unsigned short port = PW_AUTH_UDP_PORT; 94unsigned short port = PW_AUTH_UDP_PORT;
95int retries = 1; 95int retries = 1;
96int verbose = FALSE; 96bool verbose = false;
97 97
98/****************************************************************************** 98/******************************************************************************
99 99
@@ -272,10 +272,10 @@ process_arguments (int argc, char **argv)
272 print_revision (progname, NP_VERSION); 272 print_revision (progname, NP_VERSION);
273 exit (STATE_UNKNOWN); 273 exit (STATE_UNKNOWN);
274 case 'v': /* verbose mode */ 274 case 'v': /* verbose mode */
275 verbose = TRUE; 275 verbose = true;
276 break; 276 break;
277 case 'H': /* hostname */ 277 case 'H': /* hostname */
278 if (is_host (optarg) == FALSE) { 278 if (!is_host (optarg)) {
279 usage2 (_("Invalid hostname/address"), optarg); 279 usage2 (_("Invalid hostname/address"), optarg);
280 } 280 }
281 server = optarg; 281 server = optarg;