summaryrefslogtreecommitdiffstats
path: root/plugins/check_dig.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_dig.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_dig.c')
-rw-r--r--plugins/check_dig.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_dig.c b/plugins/check_dig.c
index 34197ec..08be937 100644
--- a/plugins/check_dig.c
+++ b/plugins/check_dig.c
@@ -5,8 +5,6 @@
5* License: GPL 5* License: GPL
6* Copyright (c) 2002-2008 Nagios Plugins Development Team 6* Copyright (c) 2002-2008 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$
9*
10* Description: 8* Description:
11* 9*
12* This file contains the check_dig plugin 10* This file contains the check_dig plugin
@@ -25,7 +23,6 @@
25* You should have received a copy of the GNU General Public License 23* You should have received a copy of the GNU General Public License
26* along with this program. If not, see <http://www.gnu.org/licenses/>. 24* along with this program. If not, see <http://www.gnu.org/licenses/>.
27* 25*
28* $Id$
29* 26*
30*****************************************************************************/ 27*****************************************************************************/
31 28
@@ -36,7 +33,6 @@
36 * because on some architectures those strings are in non-writable memory */ 33 * because on some architectures those strings are in non-writable memory */
37 34
38const char *progname = "check_dig"; 35const char *progname = "check_dig";
39const char *revision = "$Revision$";
40const char *copyright = "2002-2008"; 36const char *copyright = "2002-2008";
41const char *email = "nagiosplug-devel@lists.sourceforge.net"; 37const char *email = "nagiosplug-devel@lists.sourceforge.net";
42 38
@@ -220,7 +216,7 @@ process_arguments (int argc, char **argv)
220 print_help (); 216 print_help ();
221 exit (STATE_OK); 217 exit (STATE_OK);
222 case 'V': /* version */ 218 case 'V': /* version */
223 print_revision (progname, revision); 219 print_revision (progname, NP_VERSION);
224 exit (STATE_OK); 220 exit (STATE_OK);
225 case 'H': /* hostname */ 221 case 'H': /* hostname */
226 host_or_die(optarg); 222 host_or_die(optarg);
@@ -312,7 +308,7 @@ print_help (void)
312 308
313 asprintf (&myport, "%d", DEFAULT_PORT); 309 asprintf (&myport, "%d", DEFAULT_PORT);
314 310
315 print_revision (progname, revision); 311 print_revision (progname, NP_VERSION);
316 312
317 printf ("Copyright (c) 2000 Karl DeBisschop <kdebisschop@users.sourceforge.net>\n"); 313 printf ("Copyright (c) 2000 Karl DeBisschop <kdebisschop@users.sourceforge.net>\n");
318 printf (COPYRIGHT, copyright, email); 314 printf (COPYRIGHT, copyright, email);