[nagios-plugins] check_http: Don't let "-N" expect an argument
Git Repository
git at nagios-plugins.org
Thu Dec 5 20:40:06 CET 2013
Module: nagios-plugins
Branch: maint
Commit: c91ff7539af65f95c2bcef69e5643bd99773c80f
Author: Holger Weiss <holger at zedat.fu-berlin.de>
Date: Thu Dec 5 20:13:31 2013 +0100
URL: https://www.nagios-plugins.org/repositories/nagios-plugins/commit/?id=c91ff75
check_http: Don't let "-N" expect an argument
Fix the problem that check_http's "-N" option expects an argument
although it shouldn't. The corresponding long option ("--no-body")
wasn't affected.
This error was introduced in ee3c4014d511e105489b081390636cacd4c53e3f.
Thanks to Kerry Hughes for reporting it on the devel@ list.
---
plugins/check_http.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 0ffb0c1..1595a59 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -257,7 +257,7 @@ process_arguments (int argc, char **argv)
}
while (1) {
- c = getopt_long (argc, argv, "Vvh46t:c:w:A:k:H:P:j:T:I:a:b:d:e:p:s:R:r:u:f:C:J:K:nlLS::m:M:N:E", longopts, &option);
+ c = getopt_long (argc, argv, "Vvh46t:c:w:A:k:H:P:j:T:I:a:b:d:e:p:s:R:r:u:f:C:J:K:nlLS::m:M:NE", longopts, &option);
if (c == -1 || c == EOF)
break;
More information about the Commits
mailing list