[Freeswitch-svn] [commit] r5825 - freeswitch/trunk/src/mod/xml_int/mod_xml_cdr

Freeswitch SVN anthm at freeswitch.org
Fri Oct 5 21:38:37 EDT 2007


Author: anthm
Date: Fri Oct  5 21:38:37 2007
New Revision: 5825

Modified:
   freeswitch/trunk/src/mod/xml_int/mod_xml_cdr/mod_xml_cdr.c

Log:
update

Modified: freeswitch/trunk/src/mod/xml_int/mod_xml_cdr/mod_xml_cdr.c
==============================================================================
--- freeswitch/trunk/src/mod/xml_int/mod_xml_cdr/mod_xml_cdr.c	(original)
+++ freeswitch/trunk/src/mod/xml_int/mod_xml_cdr/mod_xml_cdr.c	Fri Oct  5 21:38:37 2007
@@ -256,7 +256,7 @@
 				if (!strcasecmp(val, "base64")) {
 					globals.encode = 2;
 				} else {
-					globals.encode = switch_true(val);
+					globals.encode = switch_true(val) ? 1 : 0;
 				}
 			} else if (!strcasecmp(var, "retries")) {
 				globals.retries = (uint32_t) atoi(val);



More information about the Freeswitch-svn mailing list