summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorenami <enami@NetBSD.org>2010-11-10 02:33:49 +0000
committerenami <enami@NetBSD.org>2010-11-10 02:33:49 +0000
commitef075363bd69d1a8f1a71c509bf0a5da72044902 (patch)
tree407f86f7bbc8283ecb7c3b96681c9b69f908bfc4 /lib/libc/stdlib
parent5e8c4c324dc90e09b8b91ed4ca00dc34829cb00a (diff)
Indent using tab rather than four spaces.
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/getenv.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/stdlib/getenv.c b/lib/libc/stdlib/getenv.c
index e4f4c0898e5..69a371cc881 100644
--- a/lib/libc/stdlib/getenv.c
+++ b/lib/libc/stdlib/getenv.c
@@ -1,4 +1,4 @@
-/* $NetBSD: getenv.c,v 1.30 2010/11/04 21:49:45 christos Exp $ */
+/* $NetBSD: getenv.c,v 1.31 2010/11/10 02:33:49 enami Exp $ */
/*
* Copyright (c) 1987, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)getenv.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: getenv.c,v 1.30 2010/11/04 21:49:45 christos Exp $");
+__RCSID("$NetBSD: getenv.c,v 1.31 2010/11/10 02:33:49 enami Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -166,10 +166,10 @@ __scrubenv(int offset)
return;
for (; environ[offset]; offset++)
- if (environ[offset] == __environ_malloced[offset]) {
- free(__environ_malloced[offset]);
- environ[offset] = __environ_malloced[offset] = NULL;
- }
+ if (environ[offset] == __environ_malloced[offset]) {
+ free(__environ_malloced[offset]);
+ environ[offset] = __environ_malloced[offset] = NULL;
+ }
environ[offset] = __environ_malloced[offset] = NULL;
}