mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-16 16:24:13 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1476 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
31ee0d59fc
commit
21c2b5812e
17 files changed
+53
-39
No files matched your search
@@ -476,7 +476,7 @@ SWITCH_DECLARE(switch_status_t) switch_loadable_module_init()
|
||||
|
||||
if ((mods = switch_xml_child(cfg, "modules"))) {
|
||||
for (ld = switch_xml_child(mods, "load"); ld; ld = ld->next) {
|
||||
const char *val = switch_xml_attr(ld, "module");
|
||||
const char *val = switch_xml_attr_soft(ld, "module");
|
||||
if (strchr(val, '.') && !strstr(val, ext) && !strstr(val, EXT)) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Invalid extension for %s\n", val);
|
||||
continue;
|
||||
@@ -496,7 +496,7 @@ SWITCH_DECLARE(switch_status_t) switch_loadable_module_init()
|
||||
|
||||
if ((mods = switch_xml_child(cfg, "modules"))) {
|
||||
for (ld = switch_xml_child(mods, "load"); ld; ld = ld->next) {
|
||||
const char *val = switch_xml_attr(ld, "module");
|
||||
const char *val = switch_xml_attr_soft(ld, "module");
|
||||
if (strchr(val, '.') && !strstr(val, ext) && !strstr(val, EXT)) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Invalid extension for %s\n", val);
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user