via: 316548273d2446f12f2914059c8aa151d2889ef7 (commit)
from: 446cedd31ff2e33c6a1e232f76290c97cad0af0e (commit)
= COMMIT LOG ===========================================================
committer: Mathieu Parent
comments:
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 76feba8..2f626f4 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);
}
Summary of changes: src/mod/endpoints/mod_sofia/sofia_glue.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email
For more info, see http://blog.chomperstomp.com/?p=630
--
FreeSWITCH Source