summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-04-08 12:07:20 (GMT)
committerJan Wagner <waja@cyconet.org>2021-04-10 11:43:12 (GMT)
commit74fb00f7a0e453808864390e73837aea5247346a (patch)
treec38aefa19394bd31307ad6f4c6c130531ae08967
parent827c3e80efe8ec30e3f9029d4c65104bf106984c (diff)
downloadmonitoring-plugins-74fb00f7a0e453808864390e73837aea5247346a.tar.gz
check_curl: Increase regexp limit (to 1024 as in check_http)
-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;