]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix config parsing
authorMichael Jerris <mike@jerris.com>
Sun, 13 Jan 2008 20:11:54 +0000 (20:11 +0000)
committerMichael Jerris <mike@jerris.com>
Sun, 13 Jan 2008 20:11:54 +0000 (20:11 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7203 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/loggers/mod_logfile/mod_logfile.c

index b75c927cf763873e8318f0d06027ac0ea3ed8b9a..ac817a93759b9deb277d6f79db2690b0de6e1721 100644 (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")) {