[monitoring-plugins] reverted double header in longopts

Andreas Baumann git at monitoring-plugins.org
Fri Mar 17 16:10:12 CET 2017


 Module: monitoring-plugins
 Branch: feature_check_curl
 Commit: fe20e18045af937c0be013530ad97d428b3b7a00
 Author: Andreas Baumann <mail at andreasbaumann.cc>
   Date: Fri Mar 17 16:01:22 2017 +0100
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=fe20e18

reverted double header in longopts

---

 plugins/check_curl.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index b588eed..8eac051 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -525,7 +525,6 @@ process_arguments (int argc, char **argv)
     {"useragent", required_argument, 0, 'A'},
     {"header", required_argument, 0, 'k'},
     {"invert-regex", no_argument, NULL, INVERT_REGEX},
-    {"header", required_argument, 0, 'k'},
     {"extended-perfdata", no_argument, 0, 'E'},
     {0, 0, 0, 0}
   };



More information about the Commits mailing list