[monitoring-plugins] fixed getopt (-l missing, wrong order, hard to ...

Andreas Baumann git at monitoring-plugins.org
Thu May 4 17:40:12 CEST 2017


 Module: monitoring-plugins
 Branch: feature_check_curl
 Commit: 425962d9ce8abe925ed9f0e5c43d9b5996a6992b
 Author: Andreas Baumann <mail at andreasbaumann.cc>
   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;
 



More information about the Commits mailing list