diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2023-09-07 16:10:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-07 16:10:33 +0200 |
| commit | ab493d5515bd6dd8f844eb673b783479074263f8 (patch) | |
| tree | 79dd312bb14b3839b7d68582932396772d0dd55a /plugins/check_http.c | |
| parent | c5e90822d7db1db504e19007a7078d1fa09267f2 (diff) | |
| parent | 15d7ca8eb1edec26a44d361b57e53831f5c765f7 (diff) | |
| download | monitoring-plugins-ab493d5.tar.gz | |
Merge branch 'master' into compiler_warning_part_3
Diffstat (limited to 'plugins/check_http.c')
| -rw-r--r-- | plugins/check_http.c | 1 |
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; |
