From a67c6273255c0357bf1e14ea35005b47c9a94e6c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 6 Jul 2000 00:20:50 +0000 Subject: Lots and lots of cleanups. -Erik --- libc/stdlib/setenv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/stdlib/setenv.c') diff --git a/libc/stdlib/setenv.c b/libc/stdlib/setenv.c index 0990fdec2..afe5676d1 100644 --- a/libc/stdlib/setenv.c +++ b/libc/stdlib/setenv.c @@ -35,7 +35,8 @@ static int extras = 0; { if (!overwrite) return -1; - while( p[0] = p[1] ) p++; + /* Overwrite stuff */ + while( (p[0] = p[1]) ) p++; extras++; break; } -- cgit v1.2.3