diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-10 20:14:34 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-10 20:14:34 +0000 |
commit | fea057f6474ed94062cf3cbf4ad096bba62d6832 (patch) | |
tree | e189c9a20520ae30231ac1c6573db5f3a289b84c /funcs/func_math.c | |
parent | 247584d4d4239bc8da24b94e97211296de846046 (diff) |
Changes to make 1.4.26 into 1.4.26.1v1.4.26.1
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.26.1@211596 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_math.c')
-rw-r--r-- | funcs/func_math.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/funcs/func_math.c b/funcs/func_math.c index edded7575..76d9deff6 100644 --- a/funcs/func_math.c +++ b/funcs/func_math.c @@ -165,12 +165,12 @@ static int math(struct ast_channel *chan, char *cmd, char *parse, return -1; } - if (sscanf(mvalue1, "%lf", &fnum1) != 1) { + if (sscanf(mvalue1, "%30lf", &fnum1) != 1) { ast_log(LOG_WARNING, "'%s' is not a valid number\n", mvalue1); return -1; } - if (sscanf(mvalue2, "%lf", &fnum2) != 1) { + if (sscanf(mvalue2, "%30lf", &fnum2) != 1) { ast_log(LOG_WARNING, "'%s' is not a valid number\n", mvalue2); return -1; } |