mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-25 04:34:15 +00:00
FSCORE-297 FSCORE-305 FSCORE-315
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12392 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
790f2c9b64
commit
8d965c32b2
8 files changed
+171
-228
No files matched your search
@@ -93,9 +93,9 @@ static void add_route(char *service, char *regex, char *replace)
|
||||
route = switch_core_alloc(globals.pool, sizeof(*route));
|
||||
|
||||
|
||||
route->service = strdup(service);
|
||||
route->regex = strdup(regex);
|
||||
route->replace = strdup(replace);
|
||||
route->service = switch_core_strdup(globals.pool, service);
|
||||
route->regex = switch_core_strdup(globals.pool, regex);
|
||||
route->replace = switch_core_strdup(globals.pool, replace);
|
||||
|
||||
switch_mutex_lock(MUTEX);
|
||||
if (!globals.route_order) {
|
||||
|
||||
Reference in new issue
Block a user