diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-05-04 17:36:45 +0200 |
---|---|---|
committer | Sven Nierlein <sven@nierlein.de> | 2018-10-22 16:30:31 +0200 |
commit | 94d017c5ab26c65fbcc1e531210d953b5bad69a6 (patch) | |
tree | ae3808ab9521bc587245b9002ada9eab8d5a68de /plugins | |
parent | 6bc2646409a5dd64eee45a1a6f5210b5547b47fb (diff) | |
download | monitoring-plugins-94d017c5ab26c65fbcc1e531210d953b5bad69a6.tar.gz |
fixed getopt (-l missing, wrong order, hard to compare with check_http.c)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_curl.c | 2 |
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 | ||