diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-02 14:54:36 +0000 |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-02 14:54:36 +0000 |
commit | df1bd0c89ff63de64ee630e0025389651947020c (patch) | |
tree | 4669c35dbade257e0cca838fd41c28ce3bd32b7e /plugins/check_tcp.c | |
parent | d7520c8d6f058dce6581382d56b480c73f8dddde (diff) | |
download | monitoring-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_tcp.c')
-rw-r--r-- | plugins/check_tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index da70c5de..ed51e94a 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c | |||
@@ -239,7 +239,7 @@ main (int argc, char **argv) | |||
239 | server_quit = QUIT; | 239 | server_quit = QUIT; |
240 | status = strdup (""); | 240 | status = strdup (""); |
241 | 241 | ||
242 | if (process_arguments (argc, argv) != OK) | 242 | if (process_arguments (argc, argv) != TRUE) |
243 | usage (_("check_tcp: could not parse arguments\n")); | 243 | usage (_("check_tcp: could not parse arguments\n")); |
244 | 244 | ||
245 | /* use default expect if none listed in process_arguments() */ | 245 | /* use default expect if none listed in process_arguments() */ |