fix config parsing
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7203 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
f1bca1a83a
commit
a974e75fab
|
@ -258,7 +258,7 @@ static switch_status_t load_profile(switch_xml_t xml)
|
|||
|
||||
|
||||
if ((settings = switch_xml_child(xml, "settings"))) {
|
||||
for (param = switch_xml_child(settings, "map"); param; param = param->next) {
|
||||
for (param = switch_xml_child(settings, "param"); param; param = param->next) {
|
||||
char *var = (char *) switch_xml_attr_soft(param, "name");
|
||||
char *val = (char *) switch_xml_attr_soft(param, "value");
|
||||
if (!strcmp(var, "logfile")) {
|
||||
|
|
Loading…
Reference in New Issue