From a3960e9ab7577872c1fbe8f73d0da1a2a3399968 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 19 Jan 2010 15:46:55 +0000 Subject: [PATCH] build err from last patch git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16403 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr_originate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index 12e6fb8ca6..45d6425280 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -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))) {