summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/check_dig.c10
1 files changed, 5 insertions, 5 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;
56char *dns_server = NULL; 56char *dns_server = NULL;
57char *dig_args = ""; 57char *dig_args = "";
58char *query_transport = ""; 58char *query_transport = "";
59int verbose = FALSE; 59bool verbose = false;
60int server_port = DEFAULT_PORT; 60int server_port = DEFAULT_PORT;
61int number_tries = DEFAULT_TRIES; 61int number_tries = DEFAULT_TRIES;
62double warning_interval = UNDEFINED; 62double 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;