X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fcheck_ups.c;h=7311ca23c188806484e0d796526c0ab8136e8f38;hb=6fbd14fea5c111a23d9074d25499991cbfa58f79;hp=a498d203ecc7d640ca3338c13e33b023c2db21fa;hpb=56cf151ae91c5081a99365848a3f060dfe14a68c;p=nagiosplug.git diff --git a/plugins/check_ups.c b/plugins/check_ups.c index a498d20..7311ca2 100644 --- a/plugins/check_ups.c +++ b/plugins/check_ups.c @@ -8,8 +8,6 @@ * 2004 Arnaud Quette * Copyright (c) 2002-2007 Nagios Plugins Development Team * -* Last Modified: $Date$ -* * Description: * * This file contains Network UPS Tools plugin for Nagios @@ -31,12 +29,10 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . * -* $Id$ * *****************************************************************************/ const char *progname = "check_ups"; -const char *revision = "$Revision$"; const char *copyright = "2000-2007"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; @@ -561,7 +557,7 @@ process_arguments (int argc, char **argv) } break; case 'V': /* version */ - print_revision (progname, revision); + print_revision (progname, NP_VERSION); exit (STATE_OK); case 'h': /* help */ print_help (); @@ -601,7 +597,7 @@ print_help (void) char *myport; asprintf (&myport, "%d", PORT); - print_revision (progname, revision); + print_revision (progname, NP_VERSION); printf ("Copyright (c) 2000 Tom Shields\n"); printf ("Copyright (c) 2004 Alain Richard \n");