[Opensrf-commits] r1284 - trunk/src/srfsh

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Mar 12 17:45:57 EDT 2008


Author: erickson
Date: 2008-03-12 17:12:34 -0400 (Wed, 12 Mar 2008)
New Revision: 1284

Modified:
   trunk/src/srfsh/srfsh.c
Log:
updated srfsh math_bench return value since json no longer returns the extra 0s

Modified: trunk/src/srfsh/srfsh.c
===================================================================
--- trunk/src/srfsh/srfsh.c	2008-03-12 01:09:03 UTC (rev 1283)
+++ trunk/src/srfsh/srfsh.c	2008-03-12 21:12:34 UTC (rev 1284)
@@ -842,7 +842,7 @@
 	jsonObjectPush(params,jsonNewObject("2"));
 
 	char* methods[] = { "add", "sub", "mult", "div" };
-	char* answers[] = { "3", "-1", "2", "0.500000" };
+	char* answers[] = { "3", "-1", "2", "0.5" };
 
 	float times[ count * 4 ];
 	memset(times, 0, sizeof(times));



More information about the opensrf-commits mailing list