summaryrefslogtreecommitdiffstats
path: root/plugins/check_http.c
diff options
context:
space:
mode:
authorwaja <waja@users.noreply.github.com>2023-07-11 07:34:35 +0200
committerGitHub <noreply@github.com>2023-07-11 07:34:35 +0200
commitfa48c3cfe1d0be363d220610640e595430792e9c (patch)
treed912e364ee3a963a4fe6879a45ee57bd3d00e6fc /plugins/check_http.c
parent85c8210e58b1e9fd47d04f2d72145322cbd20353 (diff)
parent443f665c6c92c2b67a47cbe37acd7aae1e07de5c (diff)
downloadmonitoring-plugins-fa48c3c.tar.gz
Merge branch 'master' into update-po
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 6956a726..1288c415 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;