[Freeswitch-svn] [commit] r7429 - freeswitch/trunk/src/mod/applications/mod_commands

Freeswitch SVN anthm at freeswitch.org
Tue Jan 29 15:58:30 EST 2008


Author: anthm
Date: Tue Jan 29 15:58:30 2008
New Revision: 7429

Modified:
   freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c

Log:
fix seg

Modified: freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c	Tue Jan 29 15:58:30 2008
@@ -1746,7 +1746,7 @@
 		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, "<td>");
 			holder->stream->write_function(holder->stream, "%s%s", aval, x == (argc - 1) ? "</td></tr>\n" : "</td><td>");
 		} else {



More information about the Freeswitch-svn mailing list