From c6a18d714a1ee49c62eb3b53ebff41ecadf3b7c2 Mon Sep 17 00:00:00 2001 From: Stanley Hopcroft Date: Fri, 3 Dec 2004 21:56:44 +0000 Subject: 1041571: -D option processing corrected (Eric Chen). Changed process_arguments() to return TRUE. Dont know why this was necessary. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@995 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_tcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/check_tcp.c') diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index 41feb97f..b2066c7a 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c @@ -447,7 +447,7 @@ process_arguments (int argc, char **argv) } while (1) { - c = getopt_long (argc, argv, "+hVv46H:s:e:q:m:c:w:t:p:C:W:d:Sr:j:D", + c = getopt_long (argc, argv, "+hVv46H:s:e:q:m:c:w:t:p:C:W:d:Sr:jD:", longopts, &option); if (c == -1 || c == EOF || c == 1) @@ -574,7 +574,7 @@ process_arguments (int argc, char **argv) if (server_address == NULL) usage (_("You must provide a server address\n")); - return OK; + return TRUE; } -- cgit v1.2.3