summaryrefslogtreecommitdiffstats
path: root/plugins/check_http.c
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-03-12 19:56:43 +0100
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-04-18 00:18:07 +0200
commitf7687d47cb0841d0bc12ef205fcbaef8bf2e3805 (patch)
tree775d3dc69ae69bff4c57c41bbdfaea3e7086ab6d /plugins/check_http.c
parent41fb615f3de34c3b3a344e74fd9cc24936cd58a6 (diff)
downloadmonitoring-plugins-f7687d4.tar.gz
Fixes for -Wimplicit-fallthrough
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 8c03bc8b..432a984b 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;