From 53b4dd3ec209afdeb465872f732e94b0f2fef0c4 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 4 Apr 2013 09:19:56 -0500 Subject: [PATCH] FS-5262 --resolve --- src/mod/applications/mod_commands/mod_commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_commands/mod_commands.c b/src/mod/applications/mod_commands/mod_commands.c index 62fa59a6b9..82c4baf7e2 100644 --- a/src/mod/applications/mod_commands/mod_commands.c +++ b/src/mod/applications/mod_commands/mod_commands.c @@ -4811,7 +4811,7 @@ SWITCH_STANDARD_API(show_function) switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Memory Error!\n"); holder.stream->write_function(holder.stream, "-ERR Memory Error!\n"); } else { - holder.stream->write_function(holder.stream, json_text); + holder.stream->write_function(holder.stream, "%s", json_text); } cJSON_Delete(result); switch_safe_free(json_text);