fix the parsing of options in the FILTER function to match the documentation.
authorRussell Bryant <russell@russellbryant.com>
Sat, 1 Jul 2006 14:42:42 +0000 (14:42 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sat, 1 Jul 2006 14:42:42 +0000 (14:42 +0000)
(issue #7465)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36504 65c4cc65-6c06-0410-ace0-fbb531ad65f3

funcs/func_strings.c

index dff1779..9b7900e 100644 (file)
@@ -81,7 +81,7 @@ static int filter(struct ast_channel *chan, char *cmd, char *parse, char *buf,
        );
        char *outbuf = buf;
 
-       AST_STANDARD_APP_ARGS(args, parse);
+       AST_NONSTANDARD_APP_ARGS(args, parse, ',');
 
        if (!args.string) {
                ast_log(LOG_ERROR, "Usage: FILTER(<allowed-chars>,<string>)\n");