summaryrefslogtreecommitdiff
path: root/ptw32_tkAssocDestroy.c
diff options
context:
space:
mode:
Diffstat (limited to 'ptw32_tkAssocDestroy.c')
-rw-r--r--ptw32_tkAssocDestroy.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ptw32_tkAssocDestroy.c b/ptw32_tkAssocDestroy.c
index 0daa434..682b896 100644
--- a/ptw32_tkAssocDestroy.c
+++ b/ptw32_tkAssocDestroy.c
@@ -48,16 +48,15 @@ ptw32_tkAssocDestroy (ThreadKeyAssoc * assoc)
* ie) both the key and thread have stopped referencing it.
*
* Parameters:
- * assoc
- * an instance of ThreadKeyAssoc.
+ * assoc
+ * an instance of ThreadKeyAssoc.
* Returns:
* N/A
* -------------------------------------------------------------------
*/
{
- if ((assoc != NULL) &&
- (assoc->key == NULL && assoc->thread == NULL))
+ if ((assoc != NULL) && (assoc->key == NULL && assoc->thread == NULL))
{
pthread_mutex_destroy (&(assoc->lock));