summaryrefslogtreecommitdiffstats
path: root/plugins/check_curl.c
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-03-12 18:56:43 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-04-17 22:18:07 (GMT)
commitf7687d47cb0841d0bc12ef205fcbaef8bf2e3805 (patch)
tree775d3dc69ae69bff4c57c41bbdfaea3e7086ab6d /plugins/check_curl.c
parent41fb615f3de34c3b3a344e74fd9cc24936cd58a6 (diff)
downloadmonitoring-plugins-f7687d47cb0841d0bc12ef205fcbaef8bf2e3805.tar.gz
Fixes for -Wimplicit-fallthrough
Diffstat (limited to 'plugins/check_curl.c')
-rw-r--r--plugins/check_curl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index be5740d..b713714 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -1654,6 +1654,7 @@ process_arguments (int argc, char **argv)
1654 break; 1654 break;
1655 case 'R': /* regex */ 1655 case 'R': /* regex */
1656 cflags |= REG_ICASE; 1656 cflags |= REG_ICASE;
1657 // fall through
1657 case 'r': /* regex */ 1658 case 'r': /* regex */
1658 strncpy (regexp, optarg, MAX_RE_SIZE - 1); 1659 strncpy (regexp, optarg, MAX_RE_SIZE - 1);
1659 regexp[MAX_RE_SIZE - 1] = 0; 1660 regexp[MAX_RE_SIZE - 1] = 0;