summaryrefslogtreecommitdiffstats
path: root/plugins/check_curl.c
diff options
context:
space:
mode:
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 be5740d7..b7137145 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;