提交 1f6f2504 authored 作者: Michael Jerris's avatar Michael Jerris

error checking

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13136 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 01511a35
......@@ -3998,7 +3998,7 @@ void sofia_handle_sip_i_info(nua_t *nua, sofia_profile_t *profile, nua_handle_t
if (switch_event_create(&event, SWITCH_EVENT_RECV_INFO) == SWITCH_STATUS_SUCCESS) {
if (sip->sip_content_type) {
if (sip && sip->sip_content_type) {
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "SIP-Content-Type", sip->sip_content_type->c_type);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论