[Freeswitch-svn] [commit] r9034 - freeswitch/trunk/src/mod/applications/mod_commands
Freeswitch SVN
anthm at freeswitch.org
Tue Jul 15 10:56:16 EDT 2008
Author: anthm
Date: Tue Jul 15 10:56:15 2008
New Revision: 9034
Modified:
freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c
Log:
fix possible printf of NULL
Modified: freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c Tue Jul 15 10:56:15 2008
@@ -1632,7 +1632,7 @@
SWITCH_STANDARD_STREAM(stream);
switch_api_execute(cmd, arg, NULL, &stream);
- switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Command %s(%s):\n%s\n", cmd, arg, switch_str_nil((char *) stream.data));
+ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Command %s(%s):\n%s\n", cmd, switch_str_nil(arg), switch_str_nil((char *) stream.data));
switch_safe_free(stream.data);
}
More information about the Freeswitch-svn
mailing list