summaryrefslogtreecommitdiffstats
path: root/plugins/check_snmp.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 14:54:36 +0000
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 14:54:36 +0000
commitdf1bd0c89ff63de64ee630e0025389651947020c (patch)
tree4669c35dbade257e0cca838fd41c28ce3bd32b7e /plugins/check_snmp.c
parentd7520c8d6f058dce6581382d56b480c73f8dddde (diff)
downloadmonitoring-plugins-df1bd0c89ff63de64ee630e0025389651947020c.tar.gz
return of process_arguments() is TRUE not OK !
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@978 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 5167eb58..c7dff3d2 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) != OK) 159 if (process_arguments (argc, argv) != TRUE)
160 usage (_("check_snmp: could not parse arguments\n")); 160 usage (_("check_snmp: could not parse arguments\n"));
161 161
162 /* create the command line to execute */ 162 /* create the command line to execute */