git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9090 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-07-18 16:55:30 +00:00
parent d55f030239
commit 44124b0de0
1 changed files with 2 additions and 2 deletions

View File

@ -2001,7 +2001,7 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, sdp_session_t *
}
}
if (((m = sdp->sdp_media)) && (m->m_mode == sdp_sendonly || m->m_mode == sdp_inactive)) {
if ((m = sdp->sdp_media) && (m->m_mode == sdp_sendonly || m->m_mode == sdp_inactive)) {
sendonly = 2; /* global sendonly always wins */
}
@ -2010,7 +2010,7 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, sdp_session_t *
continue;
}
if ((!strcasecmp(attr->a_name, "sendonly")) || (!strcasecmp(attr->a_name, "inactive"))) {
if (!strcasecmp(attr->a_name, "sendonly") || !strcasecmp(attr->a_name, "inactive")) {
sendonly = 1;
} else if (sendonly < 2 && !strcasecmp(attr->a_name, "sendrecv")) {
sendonly = 0;