diff options
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/check_dig.c b/plugins/check_dig.c index 5d85ae2..be7a610 100644 --- a/plugins/check_dig.c +++ b/plugins/check_dig.c | |||
@@ -56,7 +56,7 @@ char *expected_address = NULL; | |||
56 | char *dns_server = NULL; | 56 | char *dns_server = NULL; |
57 | char *dig_args = ""; | 57 | char *dig_args = ""; |
58 | char *query_transport = ""; | 58 | char *query_transport = ""; |
59 | int verbose = FALSE; | 59 | bool verbose = false; |
60 | int server_port = DEFAULT_PORT; | 60 | int server_port = DEFAULT_PORT; |
61 | int number_tries = DEFAULT_TRIES; | 61 | int number_tries = DEFAULT_TRIES; |
62 | double warning_interval = UNDEFINED; | 62 | double warning_interval = UNDEFINED; |
@@ -176,11 +176,11 @@ main (int argc, char **argv) | |||
176 | state_text (result), elapsed_time, | 176 | state_text (result), elapsed_time, |
177 | msg ? msg : _("Probably a non-existent host/domain"), | 177 | msg ? msg : _("Probably a non-existent host/domain"), |
178 | fperfdata("time", elapsed_time, "s", | 178 | fperfdata("time", elapsed_time, "s", |
179 | (warning_interval>UNDEFINED?TRUE:FALSE), | 179 | (warning_interval>UNDEFINED ? true:false), |
180 | warning_interval, | 180 | warning_interval, |
181 | (critical_interval>UNDEFINED?TRUE:FALSE), | 181 | (critical_interval>UNDEFINED ? true:false), |
182 | critical_interval, | 182 | critical_interval, |
183 | TRUE, 0, FALSE, 0)); | 183 | true, 0, false, 0)); |
184 | return result; | 184 | return result; |
185 | } | 185 | } |
186 | 186 | ||
@@ -270,7 +270,7 @@ process_arguments (int argc, char **argv) | |||
270 | dig_args = strdup(optarg); | 270 | dig_args = strdup(optarg); |
271 | break; | 271 | break; |
272 | case 'v': /* verbose */ | 272 | case 'v': /* verbose */ |
273 | verbose = TRUE; | 273 | verbose = true; |
274 | break; | 274 | break; |
275 | case 'T': | 275 | case 'T': |
276 | record_type = optarg; | 276 | record_type = optarg; |