summaryrefslogtreecommitdiffstats
path: root/plugins/check_by_ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_by_ssh.c')
-rw-r--r--plugins/check_by_ssh.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c
index 1ad547e..1f5f72d 100644
--- a/plugins/check_by_ssh.c
+++ b/plugins/check_by_ssh.c
@@ -50,7 +50,7 @@ unsigned int services = 0;
50int skip_stdout = 0; 50int skip_stdout = 0;
51int skip_stderr = 0; 51int skip_stderr = 0;
52int warn_on_stderr = 0; 52int warn_on_stderr = 0;
53bool unknown_timeout = FALSE; 53bool unknown_timeout = false;
54char *remotecmd = NULL; 54char *remotecmd = NULL;
55char **commargv = NULL; 55char **commargv = NULL;
56int commargc = 0; 56int commargc = 0;
@@ -58,8 +58,8 @@ char *hostname = NULL;
58char *outputfile = NULL; 58char *outputfile = NULL;
59char *host_shortname = NULL; 59char *host_shortname = NULL;
60char **service; 60char **service;
61int passive = FALSE; 61bool passive = false;
62int verbose = FALSE; 62bool verbose = false;
63 63
64int 64int
65main (int argc, char **argv) 65main (int argc, char **argv)
@@ -235,7 +235,7 @@ process_arguments (int argc, char **argv)
235 print_help (); 235 print_help ();
236 exit (STATE_UNKNOWN); 236 exit (STATE_UNKNOWN);
237 case 'v': /* help */ 237 case 'v': /* help */
238 verbose = TRUE; 238 verbose = true;
239 break; 239 break;
240 case 't': /* timeout period */ 240 case 't': /* timeout period */
241 if (!is_integer (optarg)) 241 if (!is_integer (optarg))
@@ -244,7 +244,7 @@ process_arguments (int argc, char **argv)
244 timeout_interval = atoi (optarg); 244 timeout_interval = atoi (optarg);
245 break; 245 break;
246 case 'U': 246 case 'U':
247 unknown_timeout = TRUE; 247 unknown_timeout = true;
248 break; 248 break;
249 case 'H': /* host */ 249 case 'H': /* host */
250 hostname = optarg; 250 hostname = optarg;
@@ -257,7 +257,7 @@ process_arguments (int argc, char **argv)
257 break; 257 break;
258 case 'O': /* output file */ 258 case 'O': /* output file */
259 outputfile = optarg; 259 outputfile = optarg;
260 passive = TRUE; 260 passive = true;
261 break; 261 break;
262 case 's': /* description of service to check */ 262 case 's': /* description of service to check */
263 p1 = optarg; 263 p1 = optarg;