[Freeswitch-svn] [commit] r8733 - freeswitch/trunk/src/mod/applications/mod_commands
Freeswitch SVN
anthm at freeswitch.org
Fri May 30 17:02:04 EDT 2008
Author: anthm
Date: Fri May 30 17:02:04 2008
New Revision: 8733
Modified:
freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c
Log:
make global_setvar only have 2 fields so you can set foo=bar=blah w/o quotes
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 Fri May 30 17:02:04 2008
@@ -2246,7 +2246,7 @@
#define GLOBAL_SETVAR_SYNTAX "<var> <value>"
SWITCH_STANDARD_API(global_setvar_function)
{
- char *mycmd = NULL, *argv[3] = { 0 };
+ char *mycmd = NULL, *argv[2] = { 0 };
int argc = 0;
if (!switch_strlen_zero(cmd) && (mycmd = strdup(cmd))) {
More information about the Freeswitch-svn
mailing list