k9core

Unnamed repository
Log | Files | Refs | LICENSE

commit a4d4d9069a7a23320f85972827a2649abb250a71
parent 82b36c8ac33a765eb115cfd3e63a6c5a91897064
Author: qorg11 <qorg@vxempire.xyz>
Date:   Wed,  3 Jun 2020 23:29:51 +0200

Fixed style in src/echo.c

Diffstat:
Msrc/echo.c | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/echo.c b/src/echo.c @@ -8,10 +8,11 @@ main(int argc, char *argv[]) if(!strcmp(argv[1], "-n")) nflag = 1; ++argv; - while(*argv) { - (void)fputs(*argv, stdout); // Print argv - if(*++argv) putchar(' '); // If multiple things in argv, print a space between them. - } + while(*argv) + { + (void)fputs(*argv, stdout); /* Print argv */ + if(*++argv) putchar(' '); /* If multiple things in argv, print a space between them. */ + } if(!nflag) putchar('\n'); return 0; }