git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5825 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-10-06 01:38:37 +00:00
parent b82cb961dd
commit 6b5686a8b0
1 changed files with 1 additions and 1 deletions

View 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);