mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
build err from last patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16403 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
69c7c76335
commit
a3960e9ab7
@ -1889,7 +1889,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
|
|||||||
const char *cdr_total_var;
|
const char *cdr_total_var;
|
||||||
const char *cdr_var;
|
const char *cdr_var;
|
||||||
|
|
||||||
if (cdr_var = switch_channel_get_variable(caller_channel, "failed_xml_cdr_prefix")) {
|
if ((cdr_var = switch_channel_get_variable(caller_channel, "failed_xml_cdr_prefix"))) {
|
||||||
char buf[128] = "";
|
char buf[128] = "";
|
||||||
switch_snprintf(buf, sizeof(buf), "%s_total", cdr_var);
|
switch_snprintf(buf, sizeof(buf), "%s_total", cdr_var);
|
||||||
if ((cdr_total_var = switch_channel_get_variable(caller_channel, buf))) {
|
if ((cdr_total_var = switch_channel_get_variable(caller_channel, buf))) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user