diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-03-12 18:56:43 (GMT) |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-04-17 22:18:07 (GMT) |
commit | f7687d47cb0841d0bc12ef205fcbaef8bf2e3805 (patch) | |
tree | 775d3dc69ae69bff4c57c41bbdfaea3e7086ab6d /plugins/check_http.c | |
parent | 41fb615f3de34c3b3a344e74fd9cc24936cd58a6 (diff) | |
download | monitoring-plugins-f7687d47cb0841d0bc12ef205fcbaef8bf2e3805.tar.gz |
Fixes for -Wimplicit-fallthrough
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 8c03bc8..432a984 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; |