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

Freeswitch SVN mikej at freeswitch.org
Fri Feb 23 16:04:36 EST 2007


Author: mikej
Date: Fri Feb 23 16:04:36 2007
New Revision: 4379

Modified:
   freeswitch/trunk/src/switch_core.c

Log:
don't printf null on application with null arguments

Modified: freeswitch/trunk/src/switch_core.c
==============================================================================
--- freeswitch/trunk/src/switch_core.c	(original)
+++ freeswitch/trunk/src/switch_core.c	Fri Feb 23 16:04:36 2007
@@ -2958,7 +2958,7 @@
 
 		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "Execute %s(%s)\n",
 							  extension->current_application->application_name,
-							  extension->current_application->application_data);
+							  switch_str_nil(extension->current_application->application_data));
 		if (
 			(application_interface =
 			 switch_loadable_module_get_application_interface(extension->current_application->application_name)) == 0) {



More information about the Freeswitch-svn mailing list