diff options
Diffstat (limited to 'plugins/check_snmp.c')
| -rw-r--r-- | plugins/check_snmp.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index 0aafd951..1c92534c 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c | |||
| @@ -5,8 +5,6 @@ | |||
| 5 | * License: GPL | 5 | * License: GPL |
| 6 | * Copyright (c) 1999-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 1999-2007 Nagios Plugins Development Team |
| 7 | * | 7 | * |
| 8 | * Last Modified: $Date$ | ||
| 9 | * | ||
| 10 | * Description: | 8 | * Description: |
| 11 | * | 9 | * |
| 12 | * This file contains the check_snmp plugin | 10 | * This file contains the check_snmp plugin |
| @@ -27,12 +25,10 @@ | |||
| 27 | * You should have received a copy of the GNU General Public License | 25 | * You should have received a copy of the GNU General Public License |
| 28 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 26 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 29 | * | 27 | * |
| 30 | * $Id$ | ||
| 31 | * | 28 | * |
| 32 | *****************************************************************************/ | 29 | *****************************************************************************/ |
| 33 | 30 | ||
| 34 | const char *progname = "check_snmp"; | 31 | const char *progname = "check_snmp"; |
| 35 | const char *revision = "$Revision$"; | ||
| 36 | const char *copyright = "1999-2007"; | 32 | const char *copyright = "1999-2007"; |
| 37 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 33 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
| 38 | 34 | ||
| @@ -475,7 +471,7 @@ process_arguments (int argc, char **argv) | |||
| 475 | print_help (); | 471 | print_help (); |
| 476 | exit (STATE_OK); | 472 | exit (STATE_OK); |
| 477 | case 'V': /* version */ | 473 | case 'V': /* version */ |
| 478 | print_revision (progname, revision); | 474 | print_revision (progname, NP_VERSION); |
| 479 | exit (STATE_OK); | 475 | exit (STATE_OK); |
| 480 | case 'v': /* verbose */ | 476 | case 'v': /* verbose */ |
| 481 | verbose = TRUE; | 477 | verbose = TRUE; |
| @@ -928,7 +924,7 @@ nextarg (char *str) | |||
| 928 | void | 924 | void |
| 929 | print_help (void) | 925 | print_help (void) |
| 930 | { | 926 | { |
| 931 | print_revision (progname, revision); | 927 | print_revision (progname, NP_VERSION); |
| 932 | 928 | ||
| 933 | printf (COPYRIGHT, copyright, email); | 929 | printf (COPYRIGHT, copyright, email); |
| 934 | 930 | ||
