the power of r

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7970 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-03-27 17:38:30 +00:00
parent 7170424e0a
commit 5d81e456ff
1 changed files with 1 additions and 1 deletions

View File

@ -940,7 +940,7 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
rpid_domain = switch_core_session_strdup(session, use_from_str); rpid_domain = switch_core_session_strdup(session, use_from_str);
sofia_glue_get_url_from_contact(rpid_domain, 0); sofia_glue_get_url_from_contact(rpid_domain, 0);
if ((rpid_domain = strchr(rpid_domain, '@'))) { if ((rpid_domain = strrchr(rpid_domain, '@'))) {
rpid_domain++; rpid_domain++;
if ((p = strchr(rpid_domain, ';'))) { if ((p = strchr(rpid_domain, ';'))) {
*p = '\0'; *p = '\0';