update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5825 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
b82cb961dd
commit
6b5686a8b0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue