[Freeswitch-svn] [commit] r13952 - freeswitch/trunk/src/mod/endpoints/mod_sofia
FreeSWITCH SVN
brian at freeswitch.org
Thu Jun 25 09:50:14 PDT 2009
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;
}
More information about the Freeswitch-svn
mailing list