FS-5262 --resolve

This commit is contained in:
Anthony Minessale 2013-04-04 09:19:56 -05:00
parent a5ce5de53d
commit 931c633eb2
1 changed files with 1 additions and 1 deletions

View File

@ -4811,7 +4811,7 @@ SWITCH_STANDARD_API(show_function)
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Memory Error!\n"); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Memory Error!\n");
holder.stream->write_function(holder.stream, "-ERR Memory Error!\n"); holder.stream->write_function(holder.stream, "-ERR Memory Error!\n");
} else { } else {
holder.stream->write_function(holder.stream, json_text); holder.stream->write_function(holder.stream, "%s", json_text);
} }
cJSON_Delete(result); cJSON_Delete(result);
switch_safe_free(json_text); switch_safe_free(json_text);