From d7aeb788073ce11c6fa6d1efa3ab276ad5bcb1b8 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 30 May 2008 21:02:04 +0000 Subject: [PATCH] make global_setvar only have 2 fields so you can set foo=bar=blah w/o quotes git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8733 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 0ff8707dd1..03b66066bf 100644 --- a/src/mod/applications/mod_commands/mod_commands.c +++ b/src/mod/applications/mod_commands/mod_commands.c @@ -2246,7 +2246,7 @@ SWITCH_STANDARD_API(uuid_dump_function) #define GLOBAL_SETVAR_SYNTAX " " 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))) {