From: Anthony Minessale Date: Thu, 4 Apr 2013 14:19:56 +0000 (-0500) Subject: FS-5262 --resolve X-Git-Tag: v1.5.1~301 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=931c633eb243ce0948939c7fd30f5b9de04f50c2;p=thirdparty%2Ffreeswitch.git FS-5262 --resolve --- 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);