aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-25 05:21:20 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-25 05:21:20 +0000
commit7e7cad923f6244f1d2199a5be0b6ba0de5fa207a (patch)
tree2bb04884412e1ee7c76e392afc629309586b671d /funcs
parent99c122b91bf3c15767d5a8415b0cefdc553733fc (diff)
Merged revisions 48955 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48955 | russell | 2006-12-25 00:19:48 -0500 (Mon, 25 Dec 2006) | 6 lines Fix an error introduced by copying and pasting the handling of the >= operator for the MATH function. If a single equal sign was used as an operator, the function would treat it is as if it were the >= operator. Now, it properly handles it as an invalid operator. (issue #8665, patch by tempest1) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48956 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_math.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/funcs/func_math.c b/funcs/func_math.c
index 608135c53..386897dbd 100644
--- a/funcs/func_math.c
+++ b/funcs/func_math.c
@@ -120,7 +120,6 @@ static int math(struct ast_channel *chan, char *cmd, char *parse,
iaction = LTEFUNCTION;
}
} else if ((op = strchr(mvalue1, '='))) {
- iaction = GTFUNCTION;
*op = '\0';
if (*(op + 1) == '=') {
*++op = '\0';