]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
wrong toin at albakerky
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 2 Aug 2011 02:13:54 +0000 (21:13 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 2 Aug 2011 02:13:54 +0000 (21:13 -0500)
src/mod/endpoints/mod_sofia/sofia.c

index cf0234a5df2f87927987738fbb16277d6840b1b3..4ca0e91054baf4f8fd4b774a8be5f252094e26e9 100644 (file)
@@ -5123,7 +5123,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 {