diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2023-07-23 21:58:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-23 21:58:13 +0200 |
| commit | 7c3098270c5481f64438525be5883f070ebc16a1 (patch) | |
| tree | 8e3b4a532717659649954b879fb685fce353e863 /plugins/check_http.c | |
| parent | c22c277b3df4884719c833daaffca59167abd14a (diff) | |
| parent | af06d34071608641295eecd46edb0c4dbde13872 (diff) | |
| download | monitoring-plugins-7c30982.tar.gz | |
Merge branch 'master' into check_swap_scanf_expressions
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; |
