]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5262 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 4 Apr 2013 14:19:56 +0000 (09:19 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 4 Apr 2013 14:20:26 +0000 (09:20 -0500)
src/mod/applications/mod_commands/mod_commands.c

index 62fa59a6b99156d06a578e5d4fa157b4d14d136b..82c4baf7e2f65755ba3017184a6704b93cdee024 100644 (file)
@@ -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);