From 76bdd0b3c305f625f82ad64a73c6c4b63b08a96e Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 19 Oct 2007 00:21:50 +0000 Subject: [PATCH] fix for FSCORE-50 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5983 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr_originate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index dd6c6445a2..3dea4ba8b3 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -420,7 +420,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess for (try = 0; try < retries; try++) { switch_safe_free(loop_data); - assert(loop_data = strdup(data)); + loop_data = strdup(data); + assert(loop_data); or_argc = switch_separate_string(loop_data, '|', pipe_names, (sizeof(pipe_names) / sizeof(pipe_names[0]))); if (caller_channel && or_argc > 1 && !ringback_data) {