Clean code in src/echo.c

This commit is contained in:
qorg11 2020-06-03 21:50:58 +02:00
parent 73ab1c7c03
commit 82b36c8ac3
Signed by: qorg11
GPG Key ID: 343FC20A4ACA62B9
1 changed files with 1 additions and 1 deletions

View File

@ -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) {