summaryrefslogtreecommitdiffstats
path: root/plugins/check_tcp.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_tcp.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_tcp.c')
-rw-r--r--plugins/check_tcp.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 0d81497..31659f1 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 */
33char *progname; 31char *progname;
34const char *revision = "$Revision$";
35const char *copyright = "1999-2008"; 32const char *copyright = "1999-2008";
36const char *email = "nagiosplug-devel@lists.sourceforge.net"; 33const 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)
592void 589void
593print_help (void) 590print_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);