[hackers] [sbase] Style fix || sin
commit 0dcf33a1dfad95f7472b28161dcaed083d3e586c
Author: sin <sin_AT_2f30.org>
Date: Sun Nov 16 13:16:51 2014 +0000
Style fix
diff --git a/printenv.c b/printenv.c
index abed873..675a6f9 100644
--- a/printenv.c
+++ b/printenv.c
_AT_@ -28,11 +28,10 @@ main(int argc, char *argv[])
printf("%s\n", *environ++);
} else {
while (*argv) {
- if ((var = getenv(*argv)))
+ if ((var = getenv(*argv++)))
printf("%s\n", var);
else
ret = 1;
- argv++;
}
}
return ret;
Received on Sun Nov 16 2014 - 14:17:24 CET
This archive was generated by hypermail 2.3.0
: Sun Nov 16 2014 - 14:24:10 CET