diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-11-19 06:45:18 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-11-19 06:45:18 +0000 |
commit | caa8bd6423e2d0d1b4e72c150e80b9c6a9e1b7fe (patch) | |
tree | 118fd80cc8ba27ef695a8e8ce409e5d70f4fa451 /plugins/check_ssh.c | |
parent | 16f53e0717b60660145388b0feb351628f606211 (diff) | |
download | monitoring-plugins-caa8bd6423e2d0d1b4e72c150e80b9c6a9e1b7fe.tar.gz |
Bulk EOL cleanup
$ git diff --ignore-space-change|diffstat
0 files changed
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2087 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ssh.c')
-rw-r--r-- | plugins/check_ssh.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c index 4b5f6b76..2e16e651 100644 --- a/plugins/check_ssh.c +++ b/plugins/check_ssh.c | |||
@@ -78,7 +78,7 @@ main (int argc, char **argv) | |||
78 | 78 | ||
79 | /* initialize alarm signal handling */ | 79 | /* initialize alarm signal handling */ |
80 | signal (SIGALRM, socket_timeout_alarm_handler); | 80 | signal (SIGALRM, socket_timeout_alarm_handler); |
81 | 81 | ||
82 | alarm (socket_timeout); | 82 | alarm (socket_timeout); |
83 | 83 | ||
84 | /* ssh_connect exits if error is found */ | 84 | /* ssh_connect exits if error is found */ |
@@ -255,7 +255,7 @@ ssh_connect (char *haddr, int hport, char *remote_version) | |||
255 | close(sd); | 255 | close(sd); |
256 | exit (STATE_WARNING); | 256 | exit (STATE_WARNING); |
257 | } | 257 | } |
258 | 258 | ||
259 | printf | 259 | printf |
260 | (_("SSH OK - %s (protocol %s)\n"), | 260 | (_("SSH OK - %s (protocol %s)\n"), |
261 | ssh_server, ssh_proto); | 261 | ssh_server, ssh_proto); |
@@ -294,7 +294,7 @@ print_help (void) | |||
294 | 294 | ||
295 | printf (" %s\n", "-r, --remote-version=STRING"); | 295 | printf (" %s\n", "-r, --remote-version=STRING"); |
296 | printf (" %s\n", _("Warn if string doesn't match expected server version (ex: OpenSSH_3.9p1)")); | 296 | printf (" %s\n", _("Warn if string doesn't match expected server version (ex: OpenSSH_3.9p1)")); |
297 | 297 | ||
298 | printf (_(UT_VERBOSE)); | 298 | printf (_(UT_VERBOSE)); |
299 | 299 | ||
300 | #ifdef NP_EXTRA_OPTS | 300 | #ifdef NP_EXTRA_OPTS |