From 05bcdff58678ff5123c29c0e61c08b3d9b02c4ab Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Sun, 14 Nov 2004 00:24:35 +0000 Subject: [PATCH] fix subtraction error git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4237 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_math.c b/apps/app_math.c index 7ea7c22f84..8637d5265a 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;