]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Sofia: use const for variable name SWITCH_R_SDP_VARIABLE
authorMathieu Parent <math.parent@gmail.com>
Mon, 28 Feb 2011 23:22:31 +0000 (00:22 +0100)
committerMathieu Parent <math.parent@gmail.com>
Mon, 28 Feb 2011 23:24:39 +0000 (00:24 +0100)
src/mod/endpoints/mod_sofia/sofia_glue.c

index 76feba856ee8d922871533444883c5d1ffe146f4..2f626f42a1f69a385b831957b21c864bb5f2778d 100644 (file)
@@ -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);
        }