summaryrefslogtreecommitdiff
path: root/funcs/func_math.c
diff options
context:
space:
mode:
Diffstat (limited to 'funcs/func_math.c')
-rw-r--r--funcs/func_math.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/funcs/func_math.c b/funcs/func_math.c
index e7217c7b3..e745c4733 100644
--- a/funcs/func_math.c
+++ b/funcs/func_math.c
@@ -57,7 +57,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
<replaceable>number1</replaceable><replaceable>op</replaceable><replaceable>number2</replaceable>
where the possible values for <replaceable>op</replaceable>
are:</para>
- <para>+,-,/,*,%,&lt;&lt;,&gt;&gt;,^,AND,OR,XOR,&lt;,%gt;,&gt;=,&lt;=,== (and behave as their C equivalents)</para>
+ <para>+,-,/,*,%,&lt;&lt;,&gt;&gt;,^,AND,OR,XOR,&lt;,&gt;,&lt;=,&gt;=,== (and behave as their C equivalents)</para>
</parameter>
<parameter name="type">
<para>Wanted type of result:</para>
@@ -254,7 +254,7 @@ static int math(struct ast_channel *chan, const char *cmd, char *parse,
}
}
- if (!mvalue1 || !mvalue2) {
+ if (!mvalue2) {
ast_log(LOG_WARNING,
"Supply all the parameters - just this once, please\n");
return -1;