From: Mathieu Parent Date: Mon, 28 Feb 2011 23:22:31 +0000 (+0100) Subject: Sofia: use const for variable name SWITCH_R_SDP_VARIABLE X-Git-Tag: v1.2-rc1~181^2~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=316548273d2446f12f2914059c8aa151d2889ef7;p=thirdparty%2Ffreeswitch.git Sofia: use const for variable name SWITCH_R_SDP_VARIABLE --- diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index 76feba856e..2f626f42a1 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -5188,7 +5188,7 @@ static int recover_callback(void *pArg, int argc, char **argv, char **columnName tech_pvt->local_sdp_str = switch_core_session_strdup(session, tmp); } - if ((tmp = switch_channel_get_variable(channel, "switch_r_sdp"))) { + if ((tmp = switch_channel_get_variable(channel, SWITCH_R_SDP_VARIABLE))) { tech_pvt->remote_sdp_str = switch_core_session_strdup(session, tmp); }