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
This commit is contained in:
Anthony Minessale 2008-05-23 18:18:45 +00:00
parent fe854bdb57
commit b9edb59e9f
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}