summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/putenv.c
diff options
context:
space:
mode:
authorAndré Goddard Rosa <andre.goddard@gmail.com>2010-02-05 18:32:52 -0200
committerJean-Baptiste Queru <jbq@google.com>2010-04-29 07:29:06 -0700
commite734769276045c0cb89d4620fdd4ef35a0e6c335 (patch)
tree8b7cdc163f1dce70efb9f5221e6e0b845a07c368 /libc/stdlib/putenv.c
parent1698d9ebfc7e27271852a1fdf305a2ac37b3ebe4 (diff)
downloadbionic-e734769276045c0cb89d4620fdd4ef35a0e6c335.zip
bionic-e734769276045c0cb89d4620fdd4ef35a0e6c335.tar.gz
bionic-e734769276045c0cb89d4620fdd4ef35a0e6c335.tar.bz2
improve readability of stdlib: fix indentation and remove trailing spaces
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com> Change-Id: I7dd90a0816b5376ffc1de4499d56935e0bd574a1
Diffstat (limited to 'libc/stdlib/putenv.c')
-rw-r--r--libc/stdlib/putenv.c2
1 files changed, 1 insertions, 1 deletions
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 @@ putenv(const char *str)
if ((equal = strchr(p, '=')) == NULL) {
(void)free(p);
return (-1);
- }
+ }
*equal = '\0';
rval = setenv(p, equal + 1, 1);
(void)free(p);