提交 cfdc73a7 authored 作者: Anthony Minessale's avatar Anthony Minessale

linux... how did that not crash every time

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12858 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 b23c86a1
......@@ -1119,9 +1119,10 @@ SWITCH_DECLARE(switch_status_t) switch_event_fire_detailed(const char *file, con
for (;;) {
for (index = (*event)->priority; index < 3; index++) {
int was = (*event)->priority;
if (switch_queue_trypush(EVENT_QUEUE[index], *event) == SWITCH_STATUS_SUCCESS) {
if (index != (*event)->priority) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "queued event at a lower priority!\n");
if (index != was) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "queued event at a lower priority %d/%d!\n", index, was);
}
goto end;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论