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) /* initialize alarm signal handling */ signal (SIGALRM, socket_timeout_alarm_handler); - + alarm (socket_timeout); /* ssh_connect exits if error is found */ @@ -255,7 +255,7 @@ ssh_connect (char *haddr, int hport, char *remote_version) close(sd); exit (STATE_WARNING); } - + printf (_("SSH OK - %s (protocol %s)\n"), ssh_server, ssh_proto); @@ -294,7 +294,7 @@ print_help (void) printf (" %s\n", "-r, --remote-version=STRING"); printf (" %s\n", _("Warn if string doesn't match expected server version (ex: OpenSSH_3.9p1)")); - + printf (_(UT_VERBOSE)); #ifdef NP_EXTRA_OPTS |