mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 12:38:09 +00:00
Set invalid flag message from fatal to warning
This commit is contained in:
parent
fba4cd41cf
commit
40b0857de0
1 changed files with 2 additions and 2 deletions
|
|
@ -69,7 +69,7 @@ LinphoneLogLevel _bctbx_log_level_to_linphone_log_level(BctbxLogLevel level) {
|
|||
if (response != tmap.cend()) {
|
||||
return response->first;
|
||||
} else {
|
||||
ms_fatal("%s(): invalid argurement [%d]", __FUNCTION__, level);
|
||||
ms_fatal("%s(): invalid argument [%d]", __FUNCTION__, level);
|
||||
return LinphoneLogLevelDebug;
|
||||
}
|
||||
}
|
||||
|
|
@ -84,7 +84,7 @@ unsigned int _bctbx_log_mask_to_linphone_log_mask(unsigned int mask) {
|
|||
}
|
||||
}
|
||||
if (mask != 0) {
|
||||
ms_fatal("%s(): invalid flag set in mask [%x]", __FUNCTION__, mask);
|
||||
ms_warning("%s(): invalid flag set in mask [%x]", __FUNCTION__, mask);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue