mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 06:48:25 +00:00
automerge commit
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@13960 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -89,10 +89,9 @@ static char *builtin_function_regex(struct ast_channel *chan, char *cmd, char *d
|
|||||||
/* Regex in quotes */
|
/* Regex in quotes */
|
||||||
arg = strchr(tmp, '"');
|
arg = strchr(tmp, '"');
|
||||||
if (arg) {
|
if (arg) {
|
||||||
arg++;
|
earg = ++arg;
|
||||||
earg = strrchr(arg, '"');
|
strsep(&earg, "\"");
|
||||||
if (earg) {
|
if (earg) {
|
||||||
*earg++ = '\0';
|
|
||||||
/* Skip over any spaces before the data we are checking */
|
/* Skip over any spaces before the data we are checking */
|
||||||
while (*earg == ' ')
|
while (*earg == ' ')
|
||||||
earg++;
|
earg++;
|
||||||
|
|||||||
Reference in New Issue
Block a user