diff --git a/apps/app_math.c b/apps/app_math.c index 7ea7c22f84fccb267e53d0d30969f100dd4c6bd3..8637d5265a196ab03953f2ca8a7ce24fabded6fe 100755 --- 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;