Module Name:    src
Committed By:   joerg
Date:           Fri Mar  2 18:11:53 UTC 2012

Modified Files:
        src/lib/libpthread: pthread_tsd.c

Log Message:
Fix indentation.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/libpthread/pthread_tsd.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/libpthread/pthread_tsd.c
diff -u src/lib/libpthread/pthread_tsd.c:1.7 src/lib/libpthread/pthread_tsd.c:1.8
--- src/lib/libpthread/pthread_tsd.c:1.7	Mon Apr 28 20:23:01 2008
+++ src/lib/libpthread/pthread_tsd.c	Fri Mar  2 18:11:53 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: pthread_tsd.c,v 1.7 2008/04/28 20:23:01 martin Exp $	*/
+/*	$NetBSD: pthread_tsd.c,v 1.8 2012/03/02 18:11:53 joerg Exp $	*/
 
 /*-
  * Copyright (c) 2001, 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread_tsd.c,v 1.7 2008/04/28 20:23:01 martin Exp $");
+__RCSID("$NetBSD: pthread_tsd.c,v 1.8 2012/03/02 18:11:53 joerg Exp $");
 
 /* Functions and structures dealing with thread-specific data */
 #include <errno.h>
@@ -210,12 +210,13 @@ pthread__destroy_tsd(pthread_t self)
 				pthread_mutex_lock(&tsd_mutex);
 				destructor = pthread__tsd_destructors[i];
 				pthread_mutex_unlock(&tsd_mutex);
-			    if (destructor != NULL) {
-				    done = 0;
-				    val = self->pt_specific[i];
-				    self->pt_specific[i] = NULL; /* see above */
-				    (*destructor)(val);
-			    }
+				if (destructor != NULL) {
+					done = 0;
+					val = self->pt_specific[i];
+					/* See above */
+					self->pt_specific[i] = NULL;
+					(*destructor)(val);
+				}
 			}
 		}
 	} while (!done && iterations--);

Reply via email to