diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-04-17 05:55:25 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-04-17 05:55:25 +0000 |
commit | 54c9381f104d98b183c24408d5a3430076a6f36b (patch) | |
tree | 1729020a67c0096db2f2959ada833f4823a9ee27 /plugins/check_tcp.c | |
parent | 614071738f0edeedfa9731c5e3dd63e158bfbc7a (diff) | |
download | monitoring-plugins-54c9381f104d98b183c24408d5a3430076a6f36b.tar.gz |
code cleanup to clear strict compiler warnings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@496 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_tcp.c')
-rw-r--r-- | plugins/check_tcp.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index 62efc8c7..1057fdc6 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c @@ -57,7 +57,7 @@ const char *standard_options = "\ -h, --help\n\ Print detailed help screen\n\ -V, --version\n\ - Print version information"; + Print version information\n\n"; #include "config.h" #include "common.h" @@ -358,10 +358,7 @@ main (int argc, char **argv) return result; } - - - - + @@ -513,13 +510,15 @@ process_arguments (int argc, char **argv) return OK; } + + + void print_help (void) { print_revision (progname, revision); - printf ("Copyright (c) %s %s\n\t<%s>\n\n", - copyright, authors, email); + printf ("Copyright (c) %s %s\n\t<%s>\n\n", copyright, authors, email); printf (summary, SERVICE); print_usage (); printf ("\nOptions:\n"); @@ -535,6 +534,9 @@ print_usage (void) printf (" %s (-h|--help)\n", progname); printf (" %s (-V|--version)\n", progname); } + + + #ifdef HAVE_SSL int |