FS-5262 --resolve
This commit is contained in:
parent
a5ce5de53d
commit
931c633eb2
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue