git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7429 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-01-29 20:58:30 +00:00
parent 8b8897f663
commit e2e2941e21

View File

@ -1746,7 +1746,7 @@ static int show_callback(void *pArg, int argc, char **argv, char **columnNames)
if (holder->http) { if (holder->http) {
char aval[512]; char aval[512];
switch_amp_encode(argv[x], aval, sizeof(aval)); switch_amp_encode(val, aval, sizeof(aval));
holder->stream->write_function(holder->stream, "<td>"); holder->stream->write_function(holder->stream, "<td>");
holder->stream->write_function(holder->stream, "%s%s", aval, x == (argc - 1) ? "</td></tr>\n" : "</td><td>"); holder->stream->write_function(holder->stream, "%s%s", aval, x == (argc - 1) ? "</td></tr>\n" : "</td><td>");
} else { } else {