From: Anthony Minessale Date: Fri, 30 May 2008 21:02:04 +0000 (+0000) Subject: make global_setvar only have 2 fields so you can set foo=bar=blah w/o quotes X-Git-Tag: v1.0.1~427 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7aeb788073ce11c6fa6d1efa3ab276ad5bcb1b8;p=thirdparty%2Ffreeswitch.git 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 --- 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))) {