From 316548273d2446f12f2914059c8aa151d2889ef7 Mon Sep 17 00:00:00 2001 From: Mathieu Parent Date: Tue, 1 Mar 2011 00:22:31 +0100 Subject: [PATCH] Sofia: use const for variable name SWITCH_R_SDP_VARIABLE --- src/mod/endpoints/mod_sofia/sofia_glue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }