[Freeswitch-svn] [commit] r5983 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Thu Oct 18 20:21:50 EDT 2007


Author: mikej
Date: Thu Oct 18 20:21:50 2007
New Revision: 5983

Modified:
   freeswitch/trunk/src/switch_ivr_originate.c

Log:
fix for FSCORE-50

Modified: freeswitch/trunk/src/switch_ivr_originate.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_originate.c	(original)
+++ freeswitch/trunk/src/switch_ivr_originate.c	Thu Oct 18 20:21:50 2007
@@ -420,7 +420,8 @@
 
 	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) {



More information about the Freeswitch-svn mailing list