diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-08 14:07:20 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-08 14:07:20 +0200 |
commit | f90aec83cb20263401ab620d07e4914355d9681d (patch) | |
tree | 38c5b18be411727b66d8d8b4908b09cd67195d4c /plugins/check_curl.c | |
parent | f6fd14e886e2c5f6bf141e9542cf6212a1a6f5b5 (diff) | |
download | monitoring-plugins-f90aec83cb20263401ab620d07e4914355d9681d.tar.gz |
check_curl: Increase regexp limit (to 1024 as in check_http)
Diffstat (limited to 'plugins/check_curl.c')
-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 8125ee84..f900f160 100644 --- a/plugins/check_curl.c +++ b/plugins/check_curl.c | |||
@@ -117,7 +117,7 @@ typedef enum curlhelp_ssl_library { | |||
117 | 117 | ||
118 | enum { | 118 | enum { |
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" |
123 | regex_t preg; | 123 | regex_t preg; |