[commit] r13952 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Author: brian Date: Thu Jun 25 11:50:13 2009 New Revision: 13952 Log: mod_sofia: do not set route_uri unless there is actually one to go to. Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c ============================================================================== --- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c (original) +++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c Thu Jun 25 11:50:13 2009 @@ -4162,13 +4162,8 @@ *p = '\0'; } while ((--p > route_uri) && *p == ' '); } - } - else { - if(!(route_uri = strdup(contact))) { - goto mem_fail; - } - } - + } + if (!(to = strdup(data))) { goto mem_fail; }
participants (1)
-
FreeSWITCH SVN