summaryrefslogtreecommitdiff
path: root/funcs/func_math.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-11-03 21:19:11 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-11-03 21:19:11 +0000
commit426360e3897a4bd682c71e10ea0415071411735a (patch)
treea19e61a8350d758d17e083cc2fec05d0df4dc022 /funcs/func_math.c
parentfc9612edad82fd3d171f8915caf8a1f148207a60 (diff)
major update to arg/option parsing APIs and documentation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs/func_math.c')
-rwxr-xr-xfuncs/func_math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_math.c b/funcs/func_math.c
index 876fb2211..46085275d 100755
--- a/funcs/func_math.c
+++ b/funcs/func_math.c
@@ -84,7 +84,7 @@ static char *builtin_function_math(struct ast_channel *chan, char *cmd, char *da
}
args = ast_strdupa(data);
- argc = ast_separate_app_args(args, '|', argv, sizeof(argv) / sizeof(argv[0]));
+ argc = ast_app_separate_args(args, '|', argv, sizeof(argv) / sizeof(argv[0]));
if (argc < 1) {
ast_log(LOG_WARNING, "Syntax: Math(<number1><op><number 2>[,<type_of_result>]) - missing argument!\n");