summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: edf60f6)
raw | patch | inline | side by side (parent: edf60f6)
author | Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net> | |
Fri, 3 Dec 2004 21:56:44 +0000 (21:56 +0000) | ||
committer | Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net> | |
Fri, 3 Dec 2004 21:56:44 +0000 (21:56 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@995 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_tcp.c | patch | blob | history |
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 41feb97f5b44ed6ae651a71f25ea8945c3638441..b2066c7af9b05102aa1901fea285c752c43c06e7 100644 (file)
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
}
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)
if (server_address == NULL)
usage (_("You must provide a server address\n"));
- return OK;
+ return TRUE;
}