diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-08 14:07:20 +0200 |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2021-04-10 13:43:12 +0200 |
commit | 74fb00f7a0e453808864390e73837aea5247346a (patch) | |
tree | c38aefa19394bd31307ad6f4c6c130531ae08967 /plugins | |
parent | 827c3e80efe8ec30e3f9029d4c65104bf106984c (diff) | |
download | monitoring-plugins-74fb00f7a0e453808864390e73837aea5247346a.tar.gz |
check_curl: Increase regexp limit (to 1024 as in check_http)
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 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; |