summaryrefslogtreecommitdiffstats
path: root/plugins/check_nt.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-11-23 05:38:47 (GMT)
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-11-23 05:38:47 (GMT)
commit6fbd14fea5c111a23d9074d25499991cbfa58f79 (patch)
tree0c1f5a77cacc664eadd47216b70e3257337484db /plugins/check_nt.c
parent56cf151ae91c5081a99365848a3f060dfe14a68c (diff)
downloadmonitoring-plugins-6fbd14fea5c111a23d9074d25499991cbfa58f79.tar.gz
Removing CVS/SVN tags and replacing with git-based versioning
For contrib/, full tags have been imported from subversion git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_nt.c')
-rw-r--r--plugins/check_nt.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_nt.c b/plugins/check_nt.c
index a0e5c11..4d9157a 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
38const char *progname = "check_nt"; 35const char *progname = "check_nt";
39const char *revision = "$Revision$";
40const char *copyright = "2000-2007"; 36const char *copyright = "2000-2007";
41const char *email = "nagiosplug-devel@lists.sourceforge.net"; 37const 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
638void print_help(void) 634void 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);