mirror of https://git.qorg11.net/k9core.git
Fixed style in src/echo.c
This commit is contained in:
parent
82b36c8ac3
commit
a4d4d9069a
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue