[asterisk-commits] trunk r16921 - /trunk/cli.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Apr 1 23:17:48 MST 2006


Author: tilghman
Date: Sun Apr  2 00:17:47 2006
New Revision: 16921

URL: http://svn.digium.com/view/asterisk?rev=16921&view=rev
Log:
Fix formatting of the frog code

Modified:
    trunk/cli.c

Modified: trunk/cli.c
URL: http://svn.digium.com/view/asterisk/trunk/cli.c?rev=16921&r1=16920&r2=16921&view=diff
==============================================================================
--- trunk/cli.c (original)
+++ trunk/cli.c Sun Apr  2 00:17:47 2006
@@ -258,15 +258,15 @@
 	double warpone = 75139293848.0;
 	double warpfactor = 1.0;
 
-        if (argc > 2)
-		return RESULT_SHOWUSAGE;
-	if (argc > 1 && sscanf(argv[1],"%lf",&warpfactor) != 1)
-                return RESULT_SHOWUSAGE;
-
-        ast_cli(fd, "A frog in a blender with a base diameter of 3 inches going\n");
-        ast_cli(fd, "%.0f RPM will be travelling at warp factor %f,\n",
-		warpfactor * warpfactor * warpfactor * warpone,warpfactor);
-	ast_cli(fd,"based upon the Jacobsen Frog Corollary.\n");
+	if (argc > 2)
+		return RESULT_SHOWUSAGE;
+	if (argc > 1 && sscanf(argv[1], "%lf", &warpfactor) != 1)
+		return RESULT_SHOWUSAGE;
+
+	ast_cli(fd, "A frog in a blender with a base diameter of 3 inches going\n");
+	ast_cli(fd, "%.0f RPM will be travelling at warp factor %f,\n",
+		warpfactor * warpfactor * warpfactor * warpone, warpfactor);
+	ast_cli(fd, "based upon the Jacobsen Frog Corollary.\n");
 	return RESULT_SUCCESS;
 }
 



More information about the asterisk-commits mailing list