aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_math.c
diff options
context:
space:
mode:
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 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;
}