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

gcc warns about stupid things but lets you get away with murder elsewhere....

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8541 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 fe854bdb
......@@ -544,7 +544,7 @@ uint8_t sofia_reg_handle_register(nua_t * nua, sofia_profile_t *profile, nua_han
if ((v_contact_str = switch_event_get_header(*v_event, "sip-force-contact"))) {
if (switch_strlen_zero(received_data) && (profile->pflags & PFLAG_RECIEVED_IN_NAT_REG_CONTACT)) {
if (*received_data && (profile->pflags & PFLAG_RECIEVED_IN_NAT_REG_CONTACT)) {
switch_snprintf(received_data, sizeof(received_data), ";received=\"%s:%d\"", network_ip, network_port);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论