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
This commit is contained in:
parent
71e626c3a4
commit
d7aeb78807
|
@ -2246,7 +2246,7 @@ SWITCH_STANDARD_API(uuid_dump_function)
|
|||
#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))) {
|
||||
|
|
Loading…
Reference in New Issue