Clean code in src/echo.c
This commit is contained in:
parent
73ab1c7c03
commit
82b36c8ac3
|
@ -5,7 +5,7 @@ int
|
|||
main(int argc, char *argv[])
|
||||
{
|
||||
int nflag;
|
||||
if(strcmp(argv[1], "-n") == 0)
|
||||
if(!strcmp(argv[1], "-n"))
|
||||
nflag = 1;
|
||||
++argv;
|
||||
while(*argv) {
|
||||
|
|
Loading…
Reference in New Issue