summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Nierlein <sven@nierlein.de>2021-04-07 15:15:20 (GMT)
committerGitHub <noreply@github.com>2021-04-07 15:15:20 (GMT)
commit4ad33d9f2747d710beefd8ca7daa357669cec717 (patch)
tree177c083d7272194c073edb3d01350235a71b88d0
parentde7effdf06bc3808bbe82025bf695538b26599fa (diff)
parent0a58acc7052d4962d8fe68aeb6919b59dfdef1cf (diff)
downloadmonitoring-plugins-4ad33d9.tar.gz
Merge pull request #1566 from hydrapolic/master
plugins: check_http: Increase regexp limit
-rw-r--r--plugins/check_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index e2298b1..986cdf2 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -72,7 +72,7 @@ int maximum_age = -1;
72 72
73enum { 73enum {
74 REGS = 2, 74 REGS = 2,
75 MAX_RE_SIZE = 256 75 MAX_RE_SIZE = 1024
76}; 76};
77#include "regex.h" 77#include "regex.h"
78regex_t preg; 78regex_t preg;