提交 cd5b0594 authored 作者: Michael Jerris's avatar Michael Jerris

tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7772 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 da824431
......@@ -767,7 +767,7 @@ void sofia_glue_tech_patch_sdp(private_object_t *tech_pvt)
ip_ptr = p + 9;
}
if (!strncmp(ip_ptr, "0.0.0.0", 7) || switch_stristr("sendonly", tech_pvt->local_sdp_str)) {
if ((ip_ptr && !strncmp(ip_ptr, "0.0.0.0", 7)) || switch_stristr("sendonly", tech_pvt->local_sdp_str)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Skip patch on hold SDP\n");
return;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论