diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2023-07-10 08:29:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-10 08:29:43 (GMT) |
commit | 443f665c6c92c2b67a47cbe37acd7aae1e07de5c (patch) | |
tree | 3a02f6ce03e8f781dcfca22ee1f17817225a0ff9 /plugins/check_http.c | |
parent | b24eb7f46ac8667324efd818c01d68d5a1376c89 (diff) | |
parent | 265a7c0ed8ccde7868bb7e77c44aecc403743c21 (diff) | |
download | monitoring-plugins-443f665c6c92c2b67a47cbe37acd7aae1e07de5c.tar.gz |
Merge pull request #1867 from RincewindsHat/compiler_warning_part_2
Compiler warning part 2
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 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; |