aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_math.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-03 21:19:11 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-03 21:19:11 +0000
commitae35e4e0699024320c2dad11183f2a67722199fc (patch)
treea19e61a8350d758d17e083cc2fec05d0df4dc022 /funcs/func_math.c
parentcee4c00add38082410d2e79d3f640b516783fa77 (diff)
major update to arg/option parsing APIs and documentation
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6953 f38db490-d61c-443f-a65b-d21fe96a405b
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");