[Nagiosplug-checkins] nagiosplug/plugins check_tcp.c,1.52,1.53

Stanley Hopcroft stanleyhopcroft at users.sourceforge.net
Fri Dec 3 13:57:04 CET 2004


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7684/nagiosplug/plugins

Modified Files:
	check_tcp.c 
Log Message:
1041571: -D option processing corrected (Eric Chen). Changed process_arguments() to return TRUE. Dont know why this was necessary.

Index: check_tcp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_tcp.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- check_tcp.c	3 Dec 2004 20:28:53 -0000	1.52
+++ check_tcp.c	3 Dec 2004 21:56:44 -0000	1.53
@@ -447,7 +447,7 @@
 	}
 
 	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 @@
 	if (server_address == NULL)
 		usage (_("You must provide a server address\n"));
 
-	return OK;
+	return TRUE;
 }
 
 





More information about the Commits mailing list