mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
handle whitepace around expression
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6390 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -98,6 +98,7 @@ static char *builtin_function_if(struct ast_channel *chan, char *cmd, char *data
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
expr = ast_strip(expr);
|
||||||
if (iftrue)
|
if (iftrue)
|
||||||
iftrue = ast_strip_quoted(iftrue, "\"", "\"");
|
iftrue = ast_strip_quoted(iftrue, "\"", "\"");
|
||||||
if (iffalse)
|
if (iffalse)
|
||||||
|
Reference in New Issue
Block a user