fix config parsing

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7203 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-01-13 20:11:54 +00:00
parent f1bca1a83a
commit a974e75fab
1 changed files with 1 additions and 1 deletions

View File

@ -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")) {