[freenos] r365 committed - Corrected code indentation to 4 spaces in the echo program.

  • From: codesite-noreply@xxxxxxxxxx
  • To: freenos@xxxxxxxxxxxxx
  • Date: Mon, 19 Oct 2009 22:58:58 +0000

Revision: 365
Author: nieklinnenbank
Date: Mon Oct 19 15:58:23 2009
Log: Corrected code indentation to 4 spaces in the echo program.

http://code.google.com/p/freenos/source/detail?r=365

Modified:
 /trunk/bin/echo/Main.cpp

=======================================
--- /trunk/bin/echo/Main.cpp    Fri Jun 26 14:17:51 2009
+++ /trunk/bin/echo/Main.cpp    Mon Oct 19 15:58:23 2009
@@ -21,20 +21,20 @@

 int main(int argc, char **argv)
 {
-       int i, newline = 1, args = 1;
-
-       for (i = 1; i < argc; i++)
-       {
-               if (args == 1 && strcmp(argv[i], "-n") == 0)
-               {
-                       newline = 0;
-                       continue;
-               }
-               args = 0;
-               printf("%s ", argv[i]);
-       }
-       if (newline)
-               printf("\n");
-
-       return EXIT_SUCCESS;
-}
+    int i, newline = 1, args = 1;
+
+    for (i = 1; i < argc; i++)
+    {
+       if (args == 1 && strcmp(argv[i], "-n") == 0)
+       {
+           newline = 0;
+           continue;
+       }
+       args = 0;
+       printf("%s ", argv[i]);
+    }
+    if (newline)
+       printf("\n");
+
+    return EXIT_SUCCESS;
+}

Other related posts:

  • » [freenos] r365 committed - Corrected code indentation to 4 spaces in the echo program. - codesite-noreply