summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-05-04 17:36:45 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-05-04 17:36:45 +0200
commit425962d9ce8abe925ed9f0e5c43d9b5996a6992b (patch)
treed4585e3e7316f518426721b8c1c20c0ca33dd486
parent0390474e9f3f7f8dcaa8ded5d009062deefd35a6 (diff)
downloadmonitoring-plugins-425962d9ce8abe925ed9f0e5c43d9b5996a6992b.tar.gz
fixed getopt (-l missing, wrong order, hard to compare with check_http.c)
-rw-r--r--plugins/check_curl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index d96f8610..a2ded891 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -892,7 +892,7 @@ process_arguments (int argc, char **argv)
892 } 892 }
893 893
894 while (1) { 894 while (1) {
895 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); 895 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);
896 if (c == -1 || c == EOF || c == 1) 896 if (c == -1 || c == EOF || c == 1)
897 break; 897 break;
898 898