mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
Fix build on MacOSX
This commit is contained in:
parent
8a58dc45c3
commit
d564004d25
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ static bool_t is_matching_regex(const char *entry, const char* regex) {
|
|||
char err_msg[256];
|
||||
int res;
|
||||
res = regcomp(®ex_pattern, regex, REG_EXTENDED | REG_NOSUB);
|
||||
if(res != REG_NOERROR) {
|
||||
if(res != 0) {
|
||||
regerror(res, ®ex_pattern, err_msg, sizeof(err_msg));
|
||||
ms_error("Could not compile regex '%s: %s", regex, err_msg);
|
||||
return FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue