commit 82b36c8ac33a765eb115cfd3e63a6c5a91897064 parent 73ab1c7c033424732d15aaaa36f9fba5f70b941a Author: qorg11 <qorg@vxempire.xyz> Date: Wed, 3 Jun 2020 21:50:58 +0200 Clean code in src/echo.c Diffstat:
M | src/echo.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/echo.c b/src/echo.c @@ -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) {