diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-11-08 01:55:31 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-11-08 01:55:31 +0000 |
commit | a0a97696160c209413f213208b906d2990650320 (patch) | |
tree | ce21ec4bfdeea79845fbbf2eb5308a2e6d513fc8 /funcs/func_math.c | |
parent | 2ea48ce114efcce674220ef6cbb1cd61f3e79494 (diff) |
issue #5648
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs/func_math.c')
-rwxr-xr-x | funcs/func_math.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_math.c b/funcs/func_math.c index 46085275d..e53eb4023 100755 --- a/funcs/func_math.c +++ b/funcs/func_math.c @@ -78,7 +78,7 @@ static char *builtin_function_math(struct ast_channel *chan, char *cmd, char *da char *mvalue1, *mvalue2=NULL, *mtype_of_result; - if (!data || ast_strlen_zero(data)) { + if (ast_strlen_zero(data)) { ast_log(LOG_WARNING, "Syntax: Math(<number1><op><number 2>[,<type_of_result>]) - missing argument!\n"); return NULL; } |