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:
Anthony Minessale 2010-01-19 15:46:55 +00:00
parent 69c7c76335
commit a3960e9ab7

View File

@ -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_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] = "";
switch_snprintf(buf, sizeof(buf), "%s_total", cdr_var);
if ((cdr_total_var = switch_channel_get_variable(caller_channel, buf))) {