mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
less is more
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8054 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -47,9 +47,9 @@ SWITCH_DECLARE(switch_status_t) switch_core_asr_open(switch_asr_handle_t *ah,
|
||||
char buf[256] = "";
|
||||
char *param = NULL;
|
||||
|
||||
if (strchr(module_name, ':')) {
|
||||
if (strchr(module_name, '@')) {
|
||||
switch_set_string(buf, module_name);
|
||||
if ((param = strchr(buf, ':'))) {
|
||||
if ((param = strchr(buf, '@'))) {
|
||||
*param++ = '\0';
|
||||
module_name = buf;
|
||||
}
|
||||
|
Reference in New Issue
Block a user