From 40b0857de0141dd346d82be00263ea06c0186627 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Turnel?= Date: Wed, 18 Oct 2017 12:13:18 +0200 Subject: [PATCH] Set invalid flag message from fatal to warning --- coreapi/logging.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coreapi/logging.c b/coreapi/logging.c index 70c09c6f6..ca71a82ba 100644 --- a/coreapi/logging.c +++ b/coreapi/logging.c @@ -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; }