[Freeswitch-svn] [commit] r7203 - freeswitch/trunk/src/mod/loggers/mod_logfile

Freeswitch SVN mikej at freeswitch.org
Sun Jan 13 15:11:54 EST 2008


Author: mikej
Date: Sun Jan 13 15:11:54 2008
New Revision: 7203

Modified:
   freeswitch/trunk/src/mod/loggers/mod_logfile/mod_logfile.c

Log:
fix config parsing

Modified: freeswitch/trunk/src/mod/loggers/mod_logfile/mod_logfile.c
==============================================================================
--- freeswitch/trunk/src/mod/loggers/mod_logfile/mod_logfile.c	(original)
+++ freeswitch/trunk/src/mod/loggers/mod_logfile/mod_logfile.c	Sun Jan 13 15:11:54 2008
@@ -258,7 +258,7 @@
     
     
 	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")) {



More information about the Freeswitch-svn mailing list