[Asterisk-cvs] asterisk/apps app_math.c,1.2,1.3

russell at lists.digium.com russell at lists.digium.com
Sat Nov 13 19:23:43 CST 2004


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv18884

Modified Files:
	app_math.c 
Log Message:
fix subtraction error


Index: app_math.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_math.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- app_math.c	3 Oct 2004 15:59:52 -0000	1.2
+++ app_math.c	14 Nov 2004 00:24:35 -0000	1.3
@@ -178,7 +178,7 @@
 		ftmp = (fnum1 * fnum2);
 		break;
 	case SUBTRACTFUNCTION :
-		ftmp = (fnum2 - fnum1);
+		ftmp = (fnum1 - fnum2);
 		break;
 	case MODULUSFUNCTION : {
 		int inum1 = fnum1;




More information about the svn-commits mailing list