提交 8758d2f7 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-3141

上级 687140b5
...@@ -751,7 +751,7 @@ SWITCH_DECLARE(switch_event_header_t *) switch_channel_variable_first(switch_cha ...@@ -751,7 +751,7 @@ SWITCH_DECLARE(switch_event_header_t *) switch_channel_variable_first(switch_cha
switch_assert(channel != NULL); switch_assert(channel != NULL);
switch_mutex_lock(channel->profile_mutex); switch_mutex_lock(channel->profile_mutex);
if ((hi = channel->variables->headers)) { if (channel->variables && (hi = channel->variables->headers)) {
channel->vi = 1; channel->vi = 1;
} else { } else {
switch_mutex_unlock(channel->profile_mutex); switch_mutex_unlock(channel->profile_mutex);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论