]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
build err from last patch
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 19 Jan 2010 15:46:55 +0000 (15:46 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 19 Jan 2010 15:46:55 +0000 (15:46 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16403 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_originate.c

index 12e6fb8ca6f237cefeddb978014d6db2c870f3ed..45d6425280b59c3126ba502d9b59b726b5db4119 100644 (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))) {