aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_snmp.c
diff options
context:
space:
mode:
authorGravatar tonvoon <ton.voon@opsview.com> 2010-06-30 07:56:05 +0000
committerGravatar tonvoon <ton.voon@opsview.com> 2010-06-30 07:56:05 +0000
commit752dbc20b2bfbeb2b7d253b67fa6eda3adefb8c6 (patch)
tree26e40ed9f3828acc4b1e4df36c144ca754bbe706 /plugins/check_snmp.c
parent0aa751937455c4af4e49ccf6ba469c0b4ca8a4d0 (diff)
downloadmonitoring-plugins-752dbc20b2bfbeb2b7d253b67fa6eda3adefb8c6.tar.gz
Tests for --rate-multiplier option
Diffstat (limited to 'plugins/check_snmp.c')
-rw-r--r--plugins/check_snmp.c2
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)
calculate_rate = 1;
break;
case L_RATE_MULTIPLIER:
- if(!is_integer(optarg)||(rate_multiplier=atoi(optarg)<=0))
+ if(!is_integer(optarg)||((rate_multiplier=atoi(optarg))<=0))
usage2(_("Rate multiplier must be a positive integer"),optarg);
break;
case L_INVERT_SEARCH: