check_curl: Parse state-regex option ignoring case
commitb6c72064a53da8b173b7406a0a535922dc0cc1b3
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>
Mon, 19 Aug 2024 13:26:52 +0000 (19 15:26 +0200)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>
Mon, 19 Aug 2024 13:26:52 +0000 (19 15:26 +0200)
tree4b7d0e07ab606515ebaca809e4b89044ac5dbb7e
parent46efe803cf8e7b769ca112afc158b76510b01e46
check_curl: Parse state-regex option ignoring case

Previously the --state-regex option accepted only "critical" and
"warning" as values.
This commit changes the strcmp there to strcasecmp to be more tolerant
regarding the input.
plugins/check_curl.c