diff options
Diffstat (limited to 'libc/stdlib/setenv.c')
-rw-r--r-- | libc/stdlib/setenv.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |