]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Sat, 6 Oct 2007 01:38:37 +0000 (01:38 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Sat, 6 Oct 2007 01:38:37 +0000 (01:38 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5825 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/xml_int/mod_xml_cdr/mod_xml_cdr.c

index 83e32caccc3288c50f8871e31c676d11c43476ed..f062cc932053ea40bf19f3c00d29250084672a92 100644 (file)
@@ -256,7 +256,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_xml_cdr_load)
                                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);