summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-04-08 12:07:20 (GMT)
committerAndreas Baumann <mail@andreasbaumann.cc>2021-04-08 12:07:20 (GMT)
commitf90aec83cb20263401ab620d07e4914355d9681d (patch)
tree38c5b18be411727b66d8d8b4908b09cd67195d4c /plugins
parentf6fd14e886e2c5f6bf141e9542cf6212a1a6f5b5 (diff)
downloadmonitoring-plugins-f90aec83cb20263401ab620d07e4914355d9681d.tar.gz
check_curl: Increase regexp limit (to 1024 as in check_http)
Diffstat (limited to 'plugins')
-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 8125ee8..f900f16 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -117,7 +117,7 @@ typedef enum curlhelp_ssl_library {
117 117
118enum { 118enum {
119 REGS = 2, 119 REGS = 2,
120 MAX_RE_SIZE = 256 120 MAX_RE_SIZE = 1024
121}; 121};
122#include "regex.h" 122#include "regex.h"
123regex_t preg; 123regex_t preg;