projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e88b1ec
)
fix subtraction error
author
Russell Bryant
<russell@russellbryant.com>
Sun, 14 Nov 2004 00:24:35 +0000
(
00:24
+0000)
committer
Russell Bryant
<russell@russellbryant.com>
Sun, 14 Nov 2004 00:24:35 +0000
(
00:24
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4237
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_math.c
patch
|
blob
|
history
diff --git
a/apps/app_math.c
b/apps/app_math.c
index
7ea7c22
..
8637d52
100755
(executable)
--- a/
apps/app_math.c
+++ b/
apps/app_math.c
@@
-178,7
+178,7
@@
static int math_exec(struct ast_channel *chan, void *data)
ftmp = (fnum1 * fnum2);
break;
case SUBTRACTFUNCTION :
- ftmp = (fnum2 - fnum1);
+ ftmp = (fnum1 - fnum2);
break;
case MODULUSFUNCTION : {
int inum1 = fnum1;