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
This commit is contained in:
Stanley Hopcroft 2004-12-03 21:56:44 +00:00
parent edf60f6dce
commit c6a18d714a

View file

@ -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;
}