Module Name:    src
Committed By:   enami
Date:           Wed Nov 10 02:33:49 UTC 2010

Modified Files:
        src/lib/libc/stdlib: getenv.c

Log Message:
Indent using tab rather than four spaces.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/lib/libc/stdlib/getenv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/stdlib/getenv.c
diff -u src/lib/libc/stdlib/getenv.c:1.30 src/lib/libc/stdlib/getenv.c:1.31
--- src/lib/libc/stdlib/getenv.c:1.30	Thu Nov  4 21:49:45 2010
+++ src/lib/libc/stdlib/getenv.c	Wed Nov 10 02:33:49 2010
@@ -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 @@
 		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;
 }

Reply via email to