]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3465 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Sat, 30 Jul 2011 04:29:00 +0000 (23:29 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Sat, 30 Jul 2011 04:29:00 +0000 (23:29 -0500)
src/mod/endpoints/mod_sofia/sofia.c

index cfe9335211ce9e3eb7e650e8b1edc53762c457d0..2d01dae9d8561f21602236c74ff4d49e8234893a 100644 (file)
@@ -5100,7 +5100,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
                        sdp_parser_t *parser;
                        sdp_session_t *sdp;
 
-                       if ((profile->ndlb & PFLAG_NDLB_ALLOW_NONDUP_SDP) || !zstr(tech_pvt->remote_sdp_str) && !strcmp(tech_pvt->remote_sdp_str, r_sdp)) {
+                       if ((profile->ndlb & PFLAG_NDLB_ALLOW_NONDUP_SDP) || (!zstr(tech_pvt->remote_sdp_str) && !strcmp(tech_pvt->remote_sdp_str, r_sdp))) {
                                switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Duplicate SDP\n%s\n", r_sdp);
                                is_dup_sdp = 1;
                        } else {