mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
Changed error message from CRIT to ERROR, because message is not CRITICAL
This commit is contained in:
parent
5226489c39
commit
d56aebcc13
@ -1419,9 +1419,9 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_thread_launch(switch_core_se
|
|||||||
switch_mutex_lock(session->mutex);
|
switch_mutex_lock(session->mutex);
|
||||||
|
|
||||||
if (switch_test_flag(session, SSF_THREAD_RUNNING)) {
|
if (switch_test_flag(session, SSF_THREAD_RUNNING)) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_CRIT, "Cannot double-launch thread!\n");
|
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Cannot double-launch thread!\n");
|
||||||
} else if (switch_test_flag(session, SSF_THREAD_STARTED)) {
|
} else if (switch_test_flag(session, SSF_THREAD_STARTED)) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_CRIT, "Cannot launch thread again after it has already been run!\n");
|
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Cannot launch thread again after it has already been run!\n");
|
||||||
} else {
|
} else {
|
||||||
switch_set_flag(session, SSF_THREAD_RUNNING);
|
switch_set_flag(session, SSF_THREAD_RUNNING);
|
||||||
switch_set_flag(session, SSF_THREAD_STARTED);
|
switch_set_flag(session, SSF_THREAD_STARTED);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user