[monitoring-plugins] fixed getopt (-l missing, wrong order, hard to ...
Andreas Baumann <[email protected]> Thu, 4 May 2017 17:40:12 +0200 (CEST)
| Newsgroups | gmane.network.nagios.cvs |
|---|---|
| Message-ID | <20170504154012.5E163200629D__39936.9449391544$1493912413$gmane$org@orwell.monitoring-plugins.org> |
Module: monitoring-plugins Branch: feature_check_curl Commit: 425962d9ce8abe925ed9f0e5c43d9b5996a6992b Author: Andreas Baumann <[email protected]> Date: Thu May 4 17:36:45 2017 +0200 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=425962d fixed getopt (-l missing, wrong order, hard to compare with check_http.c) --- plugins/check_curl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/check_curl.c b/plugins/check_curl.c index d96f861..a2ded89 100644 --- a/plugins/check_curl.c +++ b/plugins/check_curl.c @@ -892,7 +892,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:p:d:e:s:R:r:u:f:C:J:K:nLS::m:M:NE", longopts, &option); + c = getopt_long (argc, argv, "Vvh46t:c:w:A:k:H:P:j:T:I:a:d:e:p:s:R:r:u:f:C:J:K:nlLS::m:M:NE", longopts, &option); if (c == -1 || c == EOF || c == 1) break;