remove whitespace from comma separated arguments to variable functions
This commit is contained in:
@ -4720,7 +4720,7 @@ int Variable::parse_args(char *str, char **args)
|
||||
while (ptr && narg < MAXFUNCARG) {
|
||||
ptrnext = find_next_comma(ptr);
|
||||
if (ptrnext) *ptrnext = '\0';
|
||||
args[narg] = utils::strdup(ptr);
|
||||
args[narg] = utils::strdup(utils::trim(ptr));
|
||||
narg++;
|
||||
ptr = ptrnext;
|
||||
if (ptr) ptr++;
|
||||
|
||||
Reference in New Issue
Block a user