From: Anthony Minessale Date: Sat, 19 Dec 2009 17:51:17 +0000 (+0000) Subject: doh, fix regression from previous commit X-Git-Tag: v1.0.6~960 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57d2c39207ed8bf3fca280a874a25792137f6de2;p=thirdparty%2Ffreeswitch.git doh, fix regression from previous commit git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16005 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 78fb4b5496..5157238ffb 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -3755,7 +3755,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status, SIPTAG_REPLACES_STR_REF(replaces_str), SOATAG_LOCAL_SDP_STR_REF(l_sdp), SOATAG_REMOTE_SDP_STR_REF(r_sdp), TAG_END()); /* This marr in our code brought to you by people who can't read........*/ - if (tech_pvt->profile->ndlb & PFLAG_NDLB_ALLOW_BAD_IANANAME && r_sdp && (p = (char *) switch_stristr("g729a/8000", r_sdp))) { + if (profile->ndlb & PFLAG_NDLB_ALLOW_BAD_IANANAME && r_sdp && (p = (char *) switch_stristr("g729a/8000", r_sdp))) { p += 4; *p++ = '/'; *p++ = '8';