base: add s tring for unrecognized platofrm id
This commit is contained in:
parent
37b02e144d
commit
c47488479b
@ -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};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user