FS-11903: [mod_sofia] fix warnV547 Expression 'sip->sip_via' is always true.
This commit is contained in:
parent
f0da2f2cd4
commit
6f9ee4216c
|
@ -10563,11 +10563,7 @@ void sofia_handle_sip_i_invite(switch_core_session_t *session, nua_t *nua, sofia
|
|||
char tmp[35] = "";
|
||||
const char *ipv6 = strchr(tech_pvt->mparams.remote_ip, ':');
|
||||
|
||||
if (sip->sip_via) {
|
||||
transport = sofia_glue_via2transport(sip->sip_via);
|
||||
} else {
|
||||
transport = sofia_glue_url2transport(sip->sip_contact->m_url);
|
||||
}
|
||||
transport = sofia_glue_via2transport(sip->sip_via);
|
||||
|
||||
|
||||
tech_pvt->record_route =
|
||||
|
|
Loading…
Reference in New Issue