sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 0dcf33a1dfad95f7472b28161dcaed083d3e586c
parent b200a6e75f4885c3e91acccdea231a2a32cbc187
Author: sin <sin@2f30.org>
Date:   Sun, 16 Nov 2014 13:16:51 +0000

Style fix

Diffstat:
Mprintenv.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/printenv.c b/printenv.c @@ -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;