commit | e734769276045c0cb89d4620fdd4ef35a0e6c335 | [log] [tgz] |
---|---|---|
author | André Goddard Rosa <andre.goddard@gmail.com> | Fri Feb 05 18:32:52 2010 -0200 |
committer | Jean-Baptiste Queru <jbq@google.com> | Thu Apr 29 07:29:06 2010 -0700 |
tree | 8b7cdc163f1dce70efb9f5221e6e0b845a07c368 | |
parent | 1698d9ebfc7e27271852a1fdf305a2ac37b3ebe4 [diff] [blame] |
improve readability of stdlib: fix indentation and remove trailing spaces Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com> Change-Id: I7dd90a0816b5376ffc1de4499d56935e0bd574a1
diff --git a/libc/stdlib/putenv.c b/libc/stdlib/putenv.c index c3bedae..54482f6 100644 --- a/libc/stdlib/putenv.c +++ b/libc/stdlib/putenv.c
@@ -42,7 +42,7 @@ if ((equal = strchr(p, '=')) == NULL) { (void)free(p); return (-1); - } + } *equal = '\0'; rval = setenv(p, equal + 1, 1); (void)free(p);