diff options
| author | tonvoon <ton.voon@opsview.com> | 2010-06-30 07:56:05 +0000 |
|---|---|---|
| committer | tonvoon <ton.voon@opsview.com> | 2010-06-30 07:56:05 +0000 |
| commit | 752dbc20b2bfbeb2b7d253b67fa6eda3adefb8c6 (patch) | |
| tree | 26e40ed9f3828acc4b1e4df36c144ca754bbe706 /plugins/check_snmp.c | |
| parent | 0aa751937455c4af4e49ccf6ba469c0b4ca8a4d0 (diff) | |
| download | monitoring-plugins-752dbc20b2bfbeb2b7d253b67fa6eda3adefb8c6.tar.gz | |
Tests for --rate-multiplier option
Diffstat (limited to 'plugins/check_snmp.c')
| -rw-r--r-- | plugins/check_snmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index b16428fe..f8cae9b6 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c | |||
| @@ -798,7 +798,7 @@ process_arguments (int argc, char **argv) | |||
| 798 | calculate_rate = 1; | 798 | calculate_rate = 1; |
| 799 | break; | 799 | break; |
| 800 | case L_RATE_MULTIPLIER: | 800 | case L_RATE_MULTIPLIER: |
| 801 | if(!is_integer(optarg)||(rate_multiplier=atoi(optarg)<=0)) | 801 | if(!is_integer(optarg)||((rate_multiplier=atoi(optarg))<=0)) |
| 802 | usage2(_("Rate multiplier must be a positive integer"),optarg); | 802 | usage2(_("Rate multiplier must be a positive integer"),optarg); |
| 803 | break; | 803 | break; |
| 804 | case L_INVERT_SEARCH: | 804 | case L_INVERT_SEARCH: |
