Skip to content
Snippets Groups Projects
Commit 05bcdff5 authored by Russell Bryant's avatar Russell Bryant
Browse files

fix subtraction error

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4237 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent e88b1ec5
Branches
Tags
No related merge requests found
...@@ -178,7 +178,7 @@ static int math_exec(struct ast_channel *chan, void *data) ...@@ -178,7 +178,7 @@ static int math_exec(struct ast_channel *chan, void *data)
ftmp = (fnum1 * fnum2); ftmp = (fnum1 * fnum2);
break; break;
case SUBTRACTFUNCTION : case SUBTRACTFUNCTION :
ftmp = (fnum2 - fnum1); ftmp = (fnum1 - fnum2);
break; break;
case MODULUSFUNCTION : { case MODULUSFUNCTION : {
int inum1 = fnum1; int inum1 = fnum1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment