提交 a974e75f authored 作者: Michael Jerris's avatar Michael Jerris

fix config parsing

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7203 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 f1bca1a8
......@@ -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")) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论