fix for FSCORE-50

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5983 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-10-19 00:21:50 +00:00
parent 9cfbaca1cd
commit 76bdd0b3c3
1 changed files with 2 additions and 1 deletions

View File

@ -420,7 +420,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
for (try = 0; try < retries; try++) { for (try = 0; try < retries; try++) {
switch_safe_free(loop_data); 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]))); or_argc = switch_separate_string(loop_data, '|', pipe_names, (sizeof(pipe_names) / sizeof(pipe_names[0])));
if (caller_channel && or_argc > 1 && !ringback_data) { if (caller_channel && or_argc > 1 && !ringback_data) {