From e2e2941e21cf09eb9f87a12abaa5b7599cc3ded9 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 29 Jan 2008 20:58:30 +0000 Subject: [PATCH] fix seg git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7429 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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 7a59a2a8f2..98481ea38f 100644 --- a/src/mod/applications/mod_commands/mod_commands.c +++ b/src/mod/applications/mod_commands/mod_commands.c @@ -1746,7 +1746,7 @@ static int show_callback(void *pArg, int argc, char **argv, char **columnNames) if (holder->http) { char aval[512]; - switch_amp_encode(argv[x], aval, sizeof(aval)); + switch_amp_encode(val, aval, sizeof(aval)); holder->stream->write_function(holder->stream, ""); holder->stream->write_function(holder->stream, "%s%s", aval, x == (argc - 1) ? "\n" : ""); } else {