handle whitepace around expression
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6390 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
52a0da4911
commit
29b2d390fa
|
@ -98,6 +98,7 @@ static char *builtin_function_if(struct ast_channel *chan, char *cmd, char *data
|
|||
return NULL;
|
||||
}
|
||||
|
||||
expr = ast_strip(expr);
|
||||
if (iftrue)
|
||||
iftrue = ast_strip_quoted(iftrue, "\"", "\"");
|
||||
if (iffalse)
|
||||
|
|
Reference in New Issue