base: add s tring for unrecognized platofrm id

This commit is contained in:
tylen 2024-09-27 21:09:13 +00:00 committed by Vasily Davydov
parent 37b02e144d
commit c47488479b

View File

@ -15,7 +15,8 @@
const char* SUPPORTED_PLATFORM_NAMES[] = { const char* SUPPORTED_PLATFORM_NAMES[] = {
"github.com", "github.com",
"gitlab.com"}; "gitlab.com",
"Unrecognized"};
static void throw_regex_error(int errcode, const regex_t* preg, const char* str) { static void throw_regex_error(int errcode, const regex_t* preg, const char* str) {
char regex_error_buffer[REGEX_ERROR_STR_MAX_LEN] = {0}; char regex_error_buffer[REGEX_ERROR_STR_MAX_LEN] = {0};