summaryrefslogtreecommitdiffstats
path: root/plugins/check_snmp.c
diff options
context:
space:
mode:
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 b16428f..f8cae9b 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: