diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-18 20:15:30 +0200 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-18 20:15:30 +0200 |
commit | 555902bf7664838ef274899dea10f2fa7f52b8de (patch) | |
tree | 0df16676965eeedb7d578a67141543009ecd3fc5 /plugins | |
parent | 47d3e156c5fd6db7da8fd25ca23135c34cf09ab5 (diff) | |
download | monitoring-plugins-555902bf7664838ef274899dea10f2fa7f52b8de.tar.gz |
check_radius: Use C99 booleans
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_radius.c | 6 |
1 files 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; | |||
93 | char *config_file = NULL; | 93 | char *config_file = NULL; |
94 | unsigned short port = PW_AUTH_UDP_PORT; | 94 | unsigned short port = PW_AUTH_UDP_PORT; |
95 | int retries = 1; | 95 | int retries = 1; |
96 | int verbose = FALSE; | 96 | bool 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; |