summaryrefslogtreecommitdiffstats
path: root/plugins/check_snmp.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-03 23:55:29 +0000
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-03 23:55:29 +0000
commit30a4266a3a624abbbaace89141f1369ecb5367aa (patch)
tree1ca30ee6a4ab8782b7eec4c623263669aecff054 /plugins/check_snmp.c
parentc298d847a3b8afe122876bfb2d75f68edc696605 (diff)
downloadmonitoring-plugins-30a4266a3a624abbbaace89141f1369ecb5367aa.tar.gz
reverting my changes from !=TRUE to == ERROR, that's not good ;-( sorry
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@998 f882894a-f735-0410-b71e-b25c423dba1c
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 18b7f2f4..6fae3d1f 100644
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
@@ -156,7 +156,7 @@ main (int argc, char **argv)
156 output_delim = strdup (DEFAULT_OUTPUT_DELIMITER); 156 output_delim = strdup (DEFAULT_OUTPUT_DELIMITER);
157 miblist = strdup (DEFAULT_MIBLIST); 157 miblist = strdup (DEFAULT_MIBLIST);
158 158
159 if (process_arguments (argc, argv) != TRUE) 159 if (process_arguments (argc, argv) == ERROR)
160 usage4 (_("Could not parse arguments")); 160 usage4 (_("Could not parse arguments"));
161 161
162 /* create the command line to execute */ 162 /* create the command line to execute */