diff options
Diffstat (limited to 'plugins/check_tcp.c')
-rw-r--r-- | plugins/check_tcp.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index 0d81497e..31659f18 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c | |||
@@ -5,8 +5,6 @@ | |||
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999-2008 Nagios Plugins Development Team | 6 | * Copyright (c) 1999-2008 Nagios Plugins Development Team |
7 | * | 7 | * |
8 | * Last Modified: $Date$ | ||
9 | * | ||
10 | * Description: | 8 | * Description: |
11 | * | 9 | * |
12 | * This file contains the check_tcp plugin | 10 | * This file contains the check_tcp plugin |
@@ -31,7 +29,6 @@ | |||
31 | 29 | ||
32 | /* progname "check_tcp" changes depending on symlink called */ | 30 | /* progname "check_tcp" changes depending on symlink called */ |
33 | char *progname; | 31 | char *progname; |
34 | const char *revision = "$Revision$"; | ||
35 | const char *copyright = "1999-2008"; | 32 | const char *copyright = "1999-2008"; |
36 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 33 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
37 | 34 | ||
@@ -451,7 +448,7 @@ process_arguments (int argc, char **argv) | |||
451 | print_help (); | 448 | print_help (); |
452 | exit (STATE_OK); | 449 | exit (STATE_OK); |
453 | case 'V': /* version */ | 450 | case 'V': /* version */ |
454 | print_revision (progname, revision); | 451 | print_revision (progname, NP_VERSION); |
455 | exit (STATE_OK); | 452 | exit (STATE_OK); |
456 | case 'v': /* verbose mode */ | 453 | case 'v': /* verbose mode */ |
457 | flags |= FLAG_VERBOSE; | 454 | flags |= FLAG_VERBOSE; |
@@ -592,7 +589,7 @@ process_arguments (int argc, char **argv) | |||
592 | void | 589 | void |
593 | print_help (void) | 590 | print_help (void) |
594 | { | 591 | { |
595 | print_revision (progname, revision); | 592 | print_revision (progname, NP_VERSION); |
596 | 593 | ||
597 | printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n"); | 594 | printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n"); |
598 | printf (COPYRIGHT, copyright, email); | 595 | printf (COPYRIGHT, copyright, email); |