[Freeswitch-svn] [commit] r12236 - freeswitch/trunk/libs/esl/src

FreeSWITCH SVN anthm at freeswitch.org
Sun Feb 22 18:10:10 PST 2009


Author: anthm
Date: Sun Feb 22 20:10:10 2009
New Revision: 12236

Log:
use blank string instead of NULL

Modified:
   freeswitch/trunk/libs/esl/src/esl.c

Modified: freeswitch/trunk/libs/esl/src/esl.c
==============================================================================
--- freeswitch/trunk/libs/esl/src/esl.c	(original)
+++ freeswitch/trunk/libs/esl/src/esl.c	Sun Feb 22 20:10:10 2009
@@ -471,7 +471,7 @@
 	}
 
 	snprintf(send_buf, sizeof(send_buf), "%s\ncall-command: execute\n%s%s%s%s\n", 
-			 cmd_buf, app_buf, arg_buf, handle->event_lock ? el_buf : NULL, handle->blocking_execute ? bl_buf : NULL);
+			 cmd_buf, app_buf, arg_buf, handle->event_lock ? el_buf : "", handle->blocking_execute ? bl_buf : "");
 
 	return esl_send_recv(handle, send_buf);
 }



More information about the Freeswitch-svn mailing list