summaryrefslogtreecommitdiffstats
path: root/plugins/check_http.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2023-07-23 20:19:34 (GMT)
committerGitHub <noreply@github.com>2023-07-23 20:19:34 (GMT)
commitc47f44d897680d09841f8e787964de40063ea34c (patch)
treefb1b30300a6bffb423733e9c3bf250e649054a25 /plugins/check_http.c
parent068c124f361d4c615aed79f6fe607f39040b2e31 (diff)
parentaf06d34071608641295eecd46edb0c4dbde13872 (diff)
downloadmonitoring-plugins-c47f44d897680d09841f8e787964de40063ea34c.tar.gz
Merge branch 'master' into compiler_warning_part_5
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r--plugins/check_http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 6956a72..1288c41 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -498,6 +498,7 @@ bool process_arguments (int argc, char **argv)
498 break; 498 break;
499 case 'R': /* regex */ 499 case 'R': /* regex */
500 cflags |= REG_ICASE; 500 cflags |= REG_ICASE;
501 // fall through
501 case 'r': /* regex */ 502 case 'r': /* regex */
502 strncpy (regexp, optarg, MAX_RE_SIZE - 1); 503 strncpy (regexp, optarg, MAX_RE_SIZE - 1);
503 regexp[MAX_RE_SIZE - 1] = 0; 504 regexp[MAX_RE_SIZE - 1] = 0;