diff options
Diffstat (limited to 'plugins/check_nt.c')
-rw-r--r-- | plugins/check_nt.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_nt.c b/plugins/check_nt.c index a0e5c119..4d9157a6 100644 --- a/plugins/check_nt.c +++ b/plugins/check_nt.c | |||
@@ -6,8 +6,6 @@ | |||
6 | * Copyright (c) 2000-2002 Yves Rubin (rubiyz@yahoo.com) | 6 | * Copyright (c) 2000-2002 Yves Rubin (rubiyz@yahoo.com) |
7 | * Copyright (c) 2003-2007 Nagios Plugins Development Team | 7 | * Copyright (c) 2003-2007 Nagios Plugins Development Team |
8 | * | 8 | * |
9 | * Last Modified: $Date$ | ||
10 | * | ||
11 | * Description: | 9 | * Description: |
12 | * | 10 | * |
13 | * This file contains the check_nt plugin | 11 | * This file contains the check_nt plugin |
@@ -31,12 +29,10 @@ | |||
31 | * You should have received a copy of the GNU General Public License | 29 | * You should have received a copy of the GNU General Public License |
32 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 30 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
33 | * | 31 | * |
34 | * $Id$ | ||
35 | * | 32 | * |
36 | *****************************************************************************/ | 33 | *****************************************************************************/ |
37 | 34 | ||
38 | const char *progname = "check_nt"; | 35 | const char *progname = "check_nt"; |
39 | const char *revision = "$Revision$"; | ||
40 | const char *copyright = "2000-2007"; | 36 | const char *copyright = "2000-2007"; |
41 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 37 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
42 | 38 | ||
@@ -517,7 +513,7 @@ int process_arguments(int argc, char **argv){ | |||
517 | print_help(); | 513 | print_help(); |
518 | exit(STATE_OK); | 514 | exit(STATE_OK); |
519 | case 'V': /* version */ | 515 | case 'V': /* version */ |
520 | print_revision(progname,revision); | 516 | print_revision(progname, NP_VERSION); |
521 | exit(STATE_OK); | 517 | exit(STATE_OK); |
522 | case 'H': /* hostname */ | 518 | case 'H': /* hostname */ |
523 | if (server_address) free(server_address); | 519 | if (server_address) free(server_address); |
@@ -637,7 +633,7 @@ void preparelist(char *string) { | |||
637 | 633 | ||
638 | void print_help(void) | 634 | void print_help(void) |
639 | { | 635 | { |
640 | print_revision(progname,revision); | 636 | print_revision(progname, NP_VERSION); |
641 | 637 | ||
642 | printf ("Copyright (c) 2000 Yves Rubin (rubiyz@yahoo.com)\n"); | 638 | printf ("Copyright (c) 2000 Yves Rubin (rubiyz@yahoo.com)\n"); |
643 | printf (COPYRIGHT, copyright, email); | 639 | printf (COPYRIGHT, copyright, email); |